File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -609,7 +609,7 @@ fn loadManifest(f: *Fetch, pkg_root: Cache.Path) RunError!void {
609
609
ast .* = try std .zig .Ast .parse (arena , manifest_bytes , .zon );
610
610
611
611
if (ast .errors .len > 0 ) {
612
- const file_path = try std .fmt .allocPrint (arena , "{}" ++ Manifest .basename , .{pkg_root });
612
+ const file_path = try std .fmt .allocPrint (arena , "{}" ++ fs . path . sep_str ++ Manifest .basename , .{pkg_root });
613
613
try std .zig .putAstErrorsIntoBundle (arena , ast .* , file_path , eb );
614
614
return error .FetchFailed ;
615
615
}
@@ -783,7 +783,7 @@ fn srcLoc(
783
783
const eb = & f .error_bundle ;
784
784
const token_starts = ast .tokens .items (.start );
785
785
const start_loc = ast .tokenLocation (0 , tok );
786
- const src_path = try eb .printString ("{}" ++ Manifest .basename , .{f .parent_package_root });
786
+ const src_path = try eb .printString ("{}" ++ fs . path . sep_str ++ Manifest .basename , .{f .parent_package_root });
787
787
const msg_off = 0 ;
788
788
return eb .addSourceLocation (.{
789
789
.src_path = src_path ,
You can’t perform that action at this time.
0 commit comments