Skip to content

Commit aad02e8

Browse files
alan-agius4matsko
authored andcommitted
fix(localize): show helpful error when providing an invalid cli option (angular#36010)
PR Close angular#36010
1 parent 4fba8a6 commit aad02e8

File tree

1 file changed

+1
-1
lines changed
  • packages/localize/src/tools/src/translate

1 file changed

+1
-1
lines changed

packages/localize/src/tools/src/translate/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ if (require.main === module) {
7474
choices: ['error', 'warning', 'ignore'],
7575
default: 'warning',
7676
})
77-
77+
.strict()
7878
.help()
7979
.parse(args);
8080

0 commit comments

Comments
 (0)