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

Commit

Permalink
fix(cli): display disableChecks option in extra flags error message (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
igniteram authored and heathkit committed Jan 13, 2017
1 parent 96719c0 commit 81f56a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ if (!argv.disableChecks) {
});

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

Expand Down

0 comments on commit 81f56a4

Please sign in to comment.