Update javascript.zig

This commit is contained in:
Jarred Sumner
2022-02-18 20:33:18 -08:00
parent 3a0577ba96
commit eeab75998d

View File

@@ -628,6 +628,7 @@ pub const Bun = struct {
relative_path,
"",
) catch return;
}
} else {
writer.writeAll(std.mem.trimLeft(u8, relative_path, "/")) catch unreachable;
}