Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const hashOfLockFile = this.getHashOfLockFile().then(hash => {
logger.verbose(`hashOfLockFile: ${hash}`);
return hash;
});
addToQueue(packageHash.internalDependencies, queue, done, workspaces);
done.push(packageHash);
}
const internalPackagesHash = generateHashOfInternalPackages(done);
const buildCommandHash = await hashStrings(this.buildCommandSignature);
const combinedHash = await hashStrings([
internalPackagesHash,
buildCommandHash
]);
logger.verbose(`Hash of internal packages: ${internalPackagesHash}`);
logger.verbose(`Hash of build command: ${buildCommandHash}`);
logger.verbose(`Combined hash: ${combinedHash}`);
logger.profile("hasher:calculateHash");
logger.setHash(combinedHash);
return combinedHash;
}