Skip to content

Commit

Permalink
Fix windows issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
atmoos committed May 16, 2024
1 parent 9d37142 commit f684a70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/GlassView.Export.Test/GlassViewTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ private static String DirectoryExportJson(String path)
}
""";

static String Sanitise(String value) => value.Replace("\"", "\\\"");
static String Sanitise(String value) => value.Replace("\\", "/"); // Windows path to Unix path, which are compatible with JSON.
}
}

0 comments on commit f684a70

Please sign in to comment.