File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ var serve = require("../lib/serve");
16
16
program . version ( pkg . version ) ;
17
17
18
18
const stringBooleanToBoolean = val => {
19
+ console . log ( { val} ) ;
19
20
if ( typeof val !== 'string' && ( val !== 'true' || val !== 'false' ) ) {
20
21
throw Error ( `Incorrect string value: ${ val } ` ) ;
21
22
}
@@ -26,7 +27,7 @@ const stringBooleanToBoolean = val => {
26
27
program
27
28
. option ( "-c --config <webpack-config>" , "additional webpack configuration" )
28
29
. option ( "-p --port <port>" , "port to serve from (default: 9000)" )
29
- . option ( "-b --babelrc babelrc>" , "use .babelrc in root (default: true)" , stringBooleanToBoolean )
30
+ . option ( "-b --babelrc < babelrc>" , "use .babelrc in root (default: true)" , stringBooleanToBoolean )
30
31
. option (
31
32
"-t --timeout <timeout>" ,
32
33
"function invocation timeout in seconds (default: 10)"
You can’t perform that action at this time.
0 commit comments