Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 81f56a4

Browse files
igniteramheathkit
authored andcommitted
fix(cli): display disableChecks option in extra flags error message (#3964)
1 parent 96719c0 commit 81f56a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/cli.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ if (!argv.disableChecks) {
181181
});
182182

183183
if (unknownKeys.length > 0) {
184-
throw new Error('Found extra flags: ' + unknownKeys.join(', '));
184+
throw new Error(
185+
'Found extra flags: ' + unknownKeys.join(', ') +
186+
', please use --disableChecks flag to disable the Protractor CLI flag checks.');
185187
}
186188
}
187189

0 commit comments

Comments
 (0)