We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unpack
1 parent 4d21c73 commit 4d13470Copy full SHA for 4d13470
src/bootstrap/src/core/download.rs
@@ -291,7 +291,7 @@ impl Config {
291
let mut short_path = t!(original_path.strip_prefix(directory_prefix));
292
let is_builder_config = short_path.to_str() == Some(BUILDER_CONFIG_FILENAME);
293
294
- if !short_path.starts_with(pattern) && (is_ci_rustc && !is_builder_config) {
+ if !(short_path.starts_with(pattern) || (is_ci_rustc && is_builder_config)) {
295
continue;
296
}
297
short_path = short_path.strip_prefix(pattern).unwrap_or(short_path);
0 commit comments