Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function initBlueprint({
fixturesPath,
resolvedFrom,
relativeDir
}) {
let blueprintPath = await buildTmp({
fixturesPath
});
let newBlueprintPath = path.resolve(resolvedFrom, relativeDir);
await fs.remove(newBlueprintPath);
await fs.move(blueprintPath, newBlueprintPath);
return newBlueprintPath;
}