Skip to content

Commit 56bcd04

Browse files
fix: sync-skill-templates exits 0 when .squad/skills absent (main/preview)
1 parent 47fcb79 commit 56bcd04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/sync-skill-templates.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const targets = [
1818
console.log('🔄 Syncing skill templates from canonical source...\n');
1919

2020
if (!existsSync(skillsSourceDir)) {
21-
console.error(`❌ Source directory not found: ${skillsSourceDir}`);
22-
process.exit(1);
21+
console.log(`⏭️ Source directory not found: ${skillsSourceDir} — skipping sync (normal on main/preview)`);
22+
process.exit(0);
2323
}
2424

2525
const skillDirs = readdirSync(skillsSourceDir).filter(name => {

0 commit comments

Comments
 (0)