There was an error while loading. Please reload this page.
1 parent cf73545 commit 09bdc66Copy full SHA for 09bdc66
1 file changed
src/cfn-validate/tests/parser_conformance.rs
@@ -55,7 +55,7 @@ fn collect_json(dir: &std::path::Path, root: &std::path::Path, out: &mut Vec<Str
55
} else if path.extension().and_then(|s| s.to_str()) == Some("json")
56
&& let Ok(rel) = path.strip_prefix(root)
57
{
58
- out.push(rel.to_string_lossy().to_string());
+ out.push(rel.to_string_lossy().replace('\\', "/"));
59
}
60
61
0 commit comments