diff options
author | 2023-07-20 14:50:23 -0700 | |
---|---|---|
committer | 2023-07-20 14:50:23 -0700 | |
commit | 68b4a64569039f39c7bb661570bf65b80028cf92 (patch) | |
tree | 49d9e021451eb62b322430fe9a1f9732141cf1c8 | |
parent | 8e12999917b7116244dbd4c2a6951d4f049df3bf (diff) | |
download | bun-68b4a64569039f39c7bb661570bf65b80028cf92.tar.gz bun-68b4a64569039f39c7bb661570bf65b80028cf92.tar.zst bun-68b4a64569039f39c7bb661570bf65b80028cf92.zip |
`resolveRopeIfNeeded` (#3708)
-rw-r--r-- | src/js_parser.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js_parser.zig b/src/js_parser.zig index 2d00654c9..f5dda75f0 100644 --- a/src/js_parser.zig +++ b/src/js_parser.zig @@ -5141,6 +5141,7 @@ fn NewParser_( return Expr{ .data = nullExprData, .loc = arg.loc }; } + str.resolveRopeIfNeeded(p.allocator); const pathname = str.string(p.allocator) catch unreachable; const path = fs.Path.init(pathname); |