diff options
author | 2023-05-21 21:27:33 -0700 | |
---|---|---|
committer | 2023-05-21 21:27:33 -0700 | |
commit | 3c57911b593856feac0799bbb28917bb45ed118f (patch) | |
tree | e1296e3db18d4c1202ceefc81bc7131447672cc8 | |
parent | 1a2a52b3f39543d39a4b17f43f6a926e448b465f (diff) | |
download | bun-3c57911b593856feac0799bbb28917bb45ed118f.tar.gz bun-3c57911b593856feac0799bbb28917bb45ed118f.tar.zst bun-3c57911b593856feac0799bbb28917bb45ed118f.zip |
Fix assertion failure
-rw-r--r-- | src/bundler/bundle_v2.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler/bundle_v2.zig b/src/bundler/bundle_v2.zig index 5cfc4a6a9..0cbeec1f2 100644 --- a/src/bundler/bundle_v2.zig +++ b/src/bundler/bundle_v2.zig @@ -9019,7 +9019,7 @@ const LinkerContext = struct { else .chunk, .input_loader = if (chunk.entry_point.is_entry_point) c.parse_graph.input_files.items(.loader)[chunk.entry_point.source_index] else .js, - .output_path = chunk.final_rel_path, + .output_path = try bun.default_allocator.dupe(u8, chunk.final_rel_path), .is_executable = chunk.is_executable, .source_map_index = if (sourcemap_output_file != null) @truncate(u32, output_files.items.len + 1) |