aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/install/lockfile.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install/lockfile.zig b/src/install/lockfile.zig
index 93c74e9e1..056daa9f9 100644
--- a/src/install/lockfile.zig
+++ b/src/install/lockfile.zig
@@ -4301,8 +4301,8 @@ const default_trusted_dependencies = brk: {
while (i < data.len) : (i += 1) {
if (data[i] == '\n' or data[i] == '\r') break;
}
+ while (data[i] == '\r' or data[i] == '\n') i += 1;
const line_slice = data[line_start..i];
- i += 1;
if (line_slice.len == 0) break;
if (map.len == max_values) {
@compileError("default-trusted-dependencies.txt is too large, please increase 'max_values' in lockfile.zig");