mirror of
https://github.com/Swatinem/rust-cache
synced 2025-08-17 10:22:17 +00:00
serialization bugs
This commit is contained in:
parent
5bbbdb9115
commit
829dfd6b08
4 changed files with 23 additions and 12 deletions
1
dist/restore/index.js
vendored
1
dist/restore/index.js
vendored
|
@ -87392,6 +87392,7 @@ async function run() {
|
|||
const restoreJson = external_path_default().join(config_CARGO_HOME, "incremental-restore.json");
|
||||
const restoreString = await external_fs_default().promises.readFile(restoreJson, "utf8");
|
||||
const restoreData = JSON.parse(restoreString);
|
||||
lib_core.debug(`restoreData: ${JSON.stringify(restoreData)}`);
|
||||
if (restoreData.roots.length == 0) {
|
||||
throw new Error("No incremental roots found");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue