mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
create prev folder
This commit is contained in:
parent
4131a60038
commit
d5b365fc11
@ -40,6 +40,8 @@ async function linkSharedResources(pkgJSON, packagePath) {
|
|||||||
if (fs.existsSync(finalLinkPath)) {
|
if (fs.existsSync(finalLinkPath)) {
|
||||||
console.warn(`⚠️ Resource [${resource}] link already exists in [${finalLinkPath}]`)
|
console.warn(`⚠️ Resource [${resource}] link already exists in [${finalLinkPath}]`)
|
||||||
continue
|
continue
|
||||||
|
} else {
|
||||||
|
fs.mkdirSync(path.resolve(finalLinkPath, ".."), { recursive: true })
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.symlinkSync(originClassPath, finalLinkPath, "dir")
|
fs.symlinkSync(originClassPath, finalLinkPath, "dir")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user