Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit 04023b2

Browse files
authored
fix(@formatjs/cli): fix throws option not being passed to main method (#665)
1 parent 9c83c2c commit 04023b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cli/src/cli.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ async function main(argv: string[]) {
145145
additionalComponentNames: cmdObj.additionalComponentNames,
146146
extractFromFormatMessageCall: cmdObj.extractFromFormatMessageCall,
147147
outputEmptyJson: cmdObj.outputEmptyJson,
148+
throws: cmdObj.throws,
148149
pragma: cmdObj.pragma,
149150
// It is possible that the glob pattern does NOT match anything.
150151
// But so long as the glob pattern is provided, don't read from stdin.

0 commit comments

Comments
 (0)