sillyspec 3.7.5 → 3.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/setup.js +1 -0
package/package.json
CHANGED
package/src/setup.js
CHANGED
|
@@ -387,6 +387,7 @@ export async function cmdSetup(dir, options = {}) {
|
|
|
387
387
|
const spinner = ora(`安装 ${skill.name}...`).start();
|
|
388
388
|
try {
|
|
389
389
|
const targetDir = join(dir, skill.target);
|
|
390
|
+
mkdirSync(targetDir, { recursive: true });
|
|
390
391
|
cpSync(skill.source, targetDir, { recursive: true });
|
|
391
392
|
spinner.succeed(`${skill.name} 安装完成 → ${skill.target}/SKILL.md`);
|
|
392
393
|
} catch (err) {
|