We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f168e commit 571f95fCopy full SHA for 571f95f
src/bootstrap/src/bin/main.rs
@@ -187,7 +187,8 @@ fn check_version(config: &Config) -> Option<String> {
187
"update `config.toml` to use `change-id = {latest_change_id}` instead"
188
));
189
190
- if io::stdout().is_terminal() && !config.dry_run() {
+ if io::stdout().is_terminal() {
191
+ t!(std::fs::create_dir_all(warned_id_path.parent().unwrap()));
192
t!(fs::write(warned_id_path, latest_change_id.to_string()));
193
}
194
} else {
0 commit comments