Skip to content

Commit

Permalink
chore: fix format.yml (#507)
Browse files Browse the repository at this point in the history
**What is the purpose of this pull request?**

- [ ] Documentation update
- [ ] Bug fix
- [ ] New rule
- [ ] Changes an existing rule
- [ ] Add autofixing to a rule
- [x] Other, please explain: This PR fixes the format.yml workflow.

**What changes did you make? (Give an overview)**

This PR fixes the format.yml workflow.
Currently that workflow seems to always be ignored.
  • Loading branch information
ota-meshi authored Jul 24, 2024
1 parent 602d825 commit 948c097
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
format:
if: github.repository == 'eslint-community/eslint-plugin/promise'
if: github.repository == 'eslint-community/eslint-plugin-promise'
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion docs/rules/avoid-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Examples of **incorrect** code for this rule:
function promisifiedFn(arg) {
return new Promise((resolve, reject) => {
callbackStyleFn(arg, (error, result) =>
error ? reject(error) : resolve(result)
error ? reject(error) : resolve(result),
)
})
}
Expand Down

0 comments on commit 948c097

Please sign in to comment.