Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo committed Sep 12, 2023
1 parent 018d503 commit 3b26f01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/actions/preview-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function previewAction(input = previewBuildInput()) {
await assertEasVersion('>=3.4.0');

const fingerprintLibRoot = await installFingerprintAsync(input);
console.log('ooxx fingerprintLibRoot', fingerprintLibRoot);
console.log('ooxx fingerprintLibRoot3', fingerprintLibRoot);
const stdout = await getExecOutput('find', ['.', '-ls'], { cwd: fingerprintLibRoot });
console.log('ooxx stdout', stdout);
const fingerprint = importFingerprint(fingerprintLibRoot);
Expand Down Expand Up @@ -106,6 +106,7 @@ async function installFingerprintAsync(input: ReturnType<typeof previewBuildInpu
await saveToCache(packageName, version, input.packager);
}
}
console.log('ooxx fingerprintLibRoot2', fingerprintLibRoot);
return fingerprintLibRoot;
});
}
Expand Down
1 change: 1 addition & 0 deletions src/cacher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export async function saveToCache(name: string, version: string, manager: string
console.log('ooxx saveCache', [toolPath(name, version)], cacheKey(name, version, manager));
await saveCache([toolPath(name, version)], cacheKey(name, version, manager));
} catch (error) {
console.log('ooxx hit cache error', error);
handleCacheError(error);
}
}
Expand Down

0 comments on commit 3b26f01

Please sign in to comment.