aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cli.zig2
-rw-r--r--src/js_lexer.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.zig b/src/cli.zig
index 39bc8797a..80a1476c8 100644
--- a/src/cli.zig
+++ b/src/cli.zig
@@ -179,7 +179,7 @@ pub const Arguments = struct {
clap.parseParam("--no-summary Don't print a summary (when generating .bun") catch unreachable,
clap.parseParam("-v, --version Print version and exit") catch unreachable,
clap.parseParam("--platform <STR> \"browser\" or \"node\". Defaults to \"browser\"") catch unreachable,
- // clap.parseParam("--production   [not implemented] generate production code") catch unreachable,
+ // clap.parseParam("--production [not implemented] generate production code") catch unreachable,
clap.parseParam("--public-dir <STR> Top-level directory for .html files, fonts or anything external. Defaults to \"<cwd>/public\", to match create-react-app and Next.js") catch unreachable,
clap.parseParam("--tsconfig-override <STR> Load tsconfig from path instead of cwd/tsconfig.json") catch unreachable,
clap.parseParam("-d, --define <STR>... Substitute K:V while parsing, e.g. --define process.env.NODE_ENV:\"development\". Values are parsed as JSON.") catch unreachable,
diff --git a/src/js_lexer.zig b/src/js_lexer.zig
index 976c4a3b3..da186eaf4 100644
--- a/src/js_lexer.zig
+++ b/src/js_lexer.zig
@@ -1165,7 +1165,7 @@ fn NewLexer_(
},
';' => {
if (comptime is_json) {
- return lexer.addUnsupportedSyntaxError("Semicolons are not allowed in JSON");
+ return lexer.addUnsupportedSyntaxError("Semicolons are not allowed in JSON");
}
lexer.step();