We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1068f94 + 357565d commit a26389fCopy full SHA for a26389f
src/tools/expand-yaml-anchors/src/main.rs
@@ -87,7 +87,8 @@ impl App {
87
let content = std::fs::read_to_string(source)
88
.with_context(|| format!("failed to read {}", self.path(source)))?;
89
90
- let mut buf = HEADER_MESSAGE.replace("{source}", &self.path(source).to_string());
+ let mut buf =
91
+ HEADER_MESSAGE.replace("{source}", &self.path(source).to_string().replace("\\", "/"));
92
93
let documents = YamlLoader::load_from_str(&content)
94
.with_context(|| format!("failed to parse {}", self.path(source)))?;
0 commit comments