From 97ec01cb7b5072e33dbb359e36ef714ebc55ddaa Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 13 Aug 2025 06:28:15 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/bun.js/SavedSourceMap.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bun.js/SavedSourceMap.zig b/src/bun.js/SavedSourceMap.zig index e56cc3313b..a6bb7d553e 100644 --- a/src/bun.js/SavedSourceMap.zig +++ b/src/bun.js/SavedSourceMap.zig @@ -146,7 +146,7 @@ pub const SavedMappingsCompact = struct { // For error reporting and other uses, stay in compact format // Increment ref count and return compact data this.compact_table.ref(); - + // Calculate proper input line count - use the last line index as the total const input_line_count = if (this.compact_table.line_offsets.len > 1) this.compact_table.line_offsets.len - 1