Skip to content

Commit 0fd4b18

Browse files
committed
add missing <
1 parent c6d2663 commit 0fd4b18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: bin/cmd.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ var serve = require("../lib/serve");
1616
program.version(pkg.version);
1717

1818
const stringBooleanToBoolean = val => {
19+
console.log({val});
1920
if (typeof val !== 'string' && (val !== 'true' || val !== 'false')) {
2021
throw Error(`Incorrect string value: ${val}`);
2122
}
@@ -26,7 +27,7 @@ const stringBooleanToBoolean = val => {
2627
program
2728
.option("-c --config <webpack-config>", "additional webpack configuration")
2829
.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)
3031
.option(
3132
"-t --timeout <timeout>",
3233
"function invocation timeout in seconds (default: 10)"

0 commit comments

Comments
 (0)