mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix spurious rebuild issue
Had two JSON entries with the same key, which meant you had a 50/50 chance of a rebuild being triggered depending on which entry was picked for the build. :-/
This commit is contained in:
parent
72996bc453
commit
94b7bde983
2 changed files with 4 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
"vault": {
|
||||
"context_name": "Key Vault",
|
||||
"menu_name": {
|
||||
"appmenu.repl": {
|
||||
"appmenu.vault": {
|
||||
"en": "Key Vault",
|
||||
"ja": "キーボールト",
|
||||
"zh": "密钥库",
|
||||
|
|
|
|||
|
|
@ -1829,6 +1829,9 @@ fn overwrite_if_changed(new_string: &String, old_file: &str) {
|
|||
_ => String::new(),
|
||||
};
|
||||
if &original != new_string {
|
||||
// println!("file change in i18n.json detected:");
|
||||
// println!("Old: {}", original);
|
||||
// println!("New: {}", new_string);
|
||||
let mut new_file = OpenOptions::new()
|
||||
.read(true)
|
||||
.write(true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue