Skip to content

Commit 4a989eb

Browse files
chore: fix generate scripts (#44)
1 parent a38dc5d commit 4a989eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/generate-configs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ ${fs
2929
)
3030

3131
const linter = new ESLint({ fix: true })
32-
linter.lintFiles([targetFile]).then(([result]) => ESLint.outputFixes(result))
32+
linter.lintFiles([targetFile]).then((results) => ESLint.outputFixes(results))

scripts/generate-rules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ ${fs
3535
)
3636

3737
const linter = new ESLint({ fix: true })
38-
linter.lintFiles([targetFile]).then(([result]) => ESLint.outputFixes(result))
38+
linter.lintFiles([targetFile]).then((results) => ESLint.outputFixes(results))

0 commit comments

Comments
 (0)