diff options
author | 2021-06-04 19:30:08 -0700 | |
---|---|---|
committer | 2021-06-04 19:30:08 -0700 | |
commit | 9dc7f258259e95fcdb1d5d7d3db0a41992efa79e (patch) | |
tree | 3c19d288019cfd64613f4c6795fb1bc8632119ea /src/cli.zig | |
parent | faa3c867e21c3af023b584c1798b09e947a21670 (diff) | |
download | bun-9dc7f258259e95fcdb1d5d7d3db0a41992efa79e.tar.gz bun-9dc7f258259e95fcdb1d5d7d3db0a41992efa79e.tar.zst bun-9dc7f258259e95fcdb1d5d7d3db0a41992efa79e.zip |
oops typescript
Former-commit-id: 7c400c9b248c2e4c9e07270d1c23a370cfd5f660
Diffstat (limited to 'src/cli.zig')
-rw-r--r-- | src/cli.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli.zig b/src/cli.zig index a69ac8833..cdf71b568 100644 --- a/src/cli.zig +++ b/src/cli.zig @@ -344,7 +344,7 @@ pub const Cli = struct { for (result.output_files) |f, i| { max_path_len = std.math.max( - f.input.text[from_path.len..].len + 2, + std.math.max(from_path.len, f.input.text.len) + 2 - from_path.len, max_path_len, ); } |