diff options
author | 2022-11-06 20:03:06 -0600 | |
---|---|---|
committer | 2022-11-06 18:03:06 -0800 | |
commit | 645cf903350a7fe5f5076100b7c4a6bc8cd1b431 (patch) | |
tree | 7d8406a7687801bdb8b4e8258a63db00f9979826 | |
parent | e5b2e3c6024492a10cb2649477657a168bf9723f (diff) | |
download | bun-645cf903350a7fe5f5076100b7c4a6bc8cd1b431.tar.gz bun-645cf903350a7fe5f5076100b7c4a6bc8cd1b431.tar.zst bun-645cf903350a7fe5f5076100b7c4a6bc8cd1b431.zip |
chore: remove space lookalike (#1465)
-rw-r--r-- | src/cli.zig | 2 | ||||
-rw-r--r-- | src/js_lexer.zig | 2 |
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(); |