mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
workspace: prepare: ensure plugins folder
This commit is contained in:
1 parent
60ef2a1ad5
commit
74a7d760cb
1 file changed
+3
@@ -88,3 +88,6 @@ for (const package of packages) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fs.writeFileSync(path.resolve(process.cwd(), 'tsconfig.json'), JSON.stringify(config));
|
fs.writeFileSync(path.resolve(process.cwd(), 'tsconfig.json'), JSON.stringify(config));
|
||||||
|
if (!fs.existsSync(path.resolve(process.cwd(), 'plugins'))) {
|
||||||
|
fs.mkdirSync(path.resolve(process.cwd(), 'plugins'));
|
||||||
|
}
|
||||||
Reference in new issue
Block a user