We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c45bff commit 357565dCopy full SHA for 357565d
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