mirror of
https://github.com/datashard/snapshot.git
synced 2025-05-17 04:37:21 +00:00
use replaceAll instead to properly replace everything needed
This commit is contained in:
parent
a329330752
commit
0e861e92ad
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ const set_snapshot = (
|
||||||
};
|
};
|
||||||
|
|
||||||
throw new Error(
|
throw new Error(
|
||||||
`Snapshot Difference found.\nPlease Update the Snapshot\n\n${json.message.replace(' ', ' ')}`
|
`Snapshot Difference found.\nPlease Update the Snapshot\n\n${json.message.replaceAll(' ', ' ')}`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue