|
|
@ -20,11 +20,12 @@ export const restoreCache = async (
|
|
|
|
|
|
|
|
|
|
|
|
let dependencyFilePath: string
|
|
|
|
let dependencyFilePath: string
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
|
|
|
|
core.info('Trying to resolve lockfile path.');
|
|
|
|
dependencyFilePath = cacheDependencyPath
|
|
|
|
dependencyFilePath = cacheDependencyPath
|
|
|
|
? cacheDependencyPath
|
|
|
|
? cacheDependencyPath
|
|
|
|
: findDependencyFile(packageManagerInfo);
|
|
|
|
: findDependencyFile(packageManagerInfo);
|
|
|
|
} catch (e) {
|
|
|
|
} catch (e) {
|
|
|
|
core.info(e);
|
|
|
|
core.info(e.message);
|
|
|
|
core.setOutput(Outputs.CacheHit, false);
|
|
|
|
core.setOutput(Outputs.CacheHit, false);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|