chore: log engine variant symlink error
This commit is contained in:
parent
3852ed6756
commit
99388f4418
@ -138,9 +138,11 @@ const symlinkEngines = async () => {
|
|||||||
|
|
||||||
await mkdir(path.join(symlinkEnginePath, variant), {
|
await mkdir(path.join(symlinkEnginePath, variant), {
|
||||||
recursive: true,
|
recursive: true,
|
||||||
}).catch(console.error)
|
}).catch((error) => log(JSON.stringify(error)))
|
||||||
|
|
||||||
await symlink(targetVariantPath, symlinkVariantPath).catch(console.error)
|
await symlink(targetVariantPath, symlinkVariantPath).catch((error) =>
|
||||||
|
log(JSON.stringify(error))
|
||||||
|
)
|
||||||
console.log(`Symlink created: ${targetVariantPath} -> ${symlinkEnginePath}`)
|
console.log(`Symlink created: ${targetVariantPath} -> ${symlinkEnginePath}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user