Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
description: "Compare files changed with those cached",
type: "boolean"
}).argv;
const buildCommand = createBuildCommand(
argv["_"],
clearOutputFolder,
outputFolder
);
const cacheStorage = getCacheStorageProvider(
cacheStorageConfig,
internalCacheFolder
);
const hasher = new Hasher(
{ packageRoot, outputFolder },
getRawBuildCommand()
);
if (argv["audit"]) {
initializeWatcher(
packageRoot,
internalCacheFolder,
logFolder,
outputFolder,
hashGlobs
);
}
await backfill(config, cacheStorage, buildCommand, hasher);