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