1
0
Fork 0
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:
Joshua 2023-04-24 10:23:52 +02:00
parent a329330752
commit 0e861e92ad

View file

@ -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(' ', ' ')}`
); );
}); });
} }