Skip to content

Commit 5b0a50b

Browse files
committed
fix(cli): update error text config intuitively
1 parent d0aaf78 commit 5b0a50b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/readConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function readConfig(program: Command, alternate = ".attw.json") {
1515
const value = opts[key];
1616

1717
if (key === "ignoreRules") {
18-
if (!Array.isArray(value)) program.error(`error: config option 'ignore' should be an array.`);
18+
if (!Array.isArray(value)) program.error(`error: config option 'ignoreRules' should be an array.`);
1919
const invalid = value.find((rule) => !Object.values(problemFlags).includes(rule));
2020
if (invalid)
2121
program.error(

0 commit comments

Comments
 (0)