Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export async function main(): Promise {
try {
const config = createConfig();
const {
cacheStorageConfig,
clearOutputFolder,
hashGlobs,
internalCacheFolder,
logFolder,
logLevel,
outputFolder,
packageRoot
} = config;
if (logLevel) {
setLogLevel(logLevel);
}
const helpString = "Backfills unchanged packages.";
const argv = yargs
.strict()
.usage(helpString)
.alias("h", "help")
.version(false)
.option("audit", {
description: "Compare files changed with those cached",
type: "boolean"
}).argv;
const buildCommand = createBuildCommand(
argv["_"],