Skip to content

Commit 948c097

Browse files
authored
chore: fix format.yml (#507)
**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.
1 parent 602d825 commit 948c097

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/format.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
format:
14-
if: github.repository == 'eslint-community/eslint-plugin/promise'
14+
if: github.repository == 'eslint-community/eslint-plugin-promise'
1515
runs-on: ubuntu-latest
1616

1717
steps:

docs/rules/avoid-new.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Examples of **incorrect** code for this rule:
2323
function promisifiedFn(arg) {
2424
return new Promise((resolve, reject) => {
2525
callbackStyleFn(arg, (error, result) =>
26-
error ? reject(error) : resolve(result)
26+
error ? reject(error) : resolve(result),
2727
)
2828
})
2929
}

0 commit comments

Comments
 (0)