Skip to content

Commit 63a4410

Browse files
committed
use the change-id from source instead of the one from config.tom
This fixes the problem of not being able to see bootstrap config changes unless the change-id in config.toml changes. Signed-off-by: onur-ozkan <[email protected]>
1 parent 6d9b92f commit 63a4410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/src/bin/main.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ fn check_version(config: &Config) -> Option<String> {
120120
}
121121

122122
if let Ok(last_warned_id) = fs::read_to_string(&warned_id_path) {
123-
if id.to_string() == last_warned_id {
123+
if latest_change_id.to_string() == last_warned_id {
124124
return None;
125125
}
126126
}
@@ -144,7 +144,7 @@ fn check_version(config: &Config) -> Option<String> {
144144
));
145145

146146
if io::stdout().is_terminal() {
147-
t!(fs::write(warned_id_path, id.to_string()));
147+
t!(fs::write(warned_id_path, latest_change_id.to_string()));
148148
}
149149
}
150150
} else {

0 commit comments

Comments
 (0)