Skip to content

Commit

Permalink
changed the default context to cli
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Apr 29, 2017
1 parent e367c59 commit d7d6490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/snap2js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ prog
.argument('<files...>', 'Snap xml files to compile')
.option('-i,--interpret')
.option('--output <dir>', 'Output directory', fileExists, '.')
.option('--context <type>', 'Context to use', isContext, 'basic')
.option('--context <type>', 'Context to use', isContext, 'cli')
.action((args, opts, logger) => {
if (opts.interpret) {
if (args.files.length > 1) logger.warn(`Only interpretting ${args.files[0]}`)
Expand Down

0 comments on commit d7d6490

Please sign in to comment.