diff options
| author | 2022-08-10 15:29:53 -0700 | |
|---|---|---|
| committer | 2022-08-10 15:29:53 -0700 | |
| commit | 218ab7f967a7acddeec6276031d49ba266c29615 (patch) | |
| tree | a6a108748fe487f4cc6aaf25b16ddfd42611d668 | |
| parent | 099ad31debb3e1c055d1212dd2489806cbbc40f2 (diff) | |
| download | bun-218ab7f967a7acddeec6276031d49ba266c29615.tar.gz bun-218ab7f967a7acddeec6276031d49ba266c29615.tar.zst bun-218ab7f967a7acddeec6276031d49ba266c29615.zip | |
Remove trailing newline in git sha
| -rw-r--r-- | build.zig | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -328,7 +328,7 @@ pub fn build(b: *std.build.Builder) !void { break :sha; }; - git_sha = std.heap.page_allocator.dupeZ(u8, result.stdout) catch unreachable; + git_sha = std.heap.page_allocator.dupeZ(u8, std.mem.trim(u8, result.stdout, "\n \t")) catch unreachable; } } |
