skillsets 0.9.3 → 0.9.4
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/dist/commands/submit.js +4 -0
- package/package.json +1 -1
package/dist/commands/submit.js
CHANGED
|
@@ -160,6 +160,10 @@ export async function submit() {
|
|
|
160
160
|
// Copy files
|
|
161
161
|
spinner.text = 'Copying skillset files...';
|
|
162
162
|
const filesToCopy = ['skillset.yaml', 'AUDIT_REPORT.md', 'content'];
|
|
163
|
+
const assetsDir = `assets_${skillset.name.toUpperCase()}`;
|
|
164
|
+
if (existsSync(join(cwd, assetsDir))) {
|
|
165
|
+
filesToCopy.push(assetsDir);
|
|
166
|
+
}
|
|
163
167
|
for (const file of filesToCopy) {
|
|
164
168
|
const src = join(cwd, file);
|
|
165
169
|
const dest = join(skillsetDir, file);
|