Skip to content

Commit

Permalink
Update lockfile.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Apr 24, 2024
1 parent e484e07 commit 3e9ac17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install/lockfile.zig
Original file line number Diff line number Diff line change
Expand Up @@ -3843,7 +3843,7 @@ pub const Package = extern struct {
) !WorkspaceEntry {
const path_to_use = if (path.len == 0) "package.json" else brk: {
const paths = [_]string{ path, "package.json" };
break :brk bun.path.joinStringBuf(path_buf, &paths, .posix);
break :brk bun.path.joinStringBuf(path_buf, &paths, .auto);
};

// TODO: windows
Expand Down

0 comments on commit 3e9ac17

Please sign in to comment.