Skip to content

Commit cc75c0a

Browse files
committed
fix: 괄호 누락 추가
1 parent 56cf88f commit cc75c0a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/auto-bump-version.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,9 @@ jobs:
7575
const indexContent = fs.existsSync(indexPath) ? fs.readFileSync(indexPath,'utf8') : '';
7676
const existingExports = new Set((indexContent.match(/from\\s+['\\\"](\\.\\/|\\.\\.\\/)([^'\\\"]+)['\\\"]/g) || [])
7777
.map(line => line.match(/from\\s+['\\\"]([^'\\\"]+)['\\\"]/)[1]));
78-
7978
const adds = [];
80-
8179
const uiRoot = path.join(root, 'ui');
8280
const componentFiles = [];
83-
8481
if (fs.existsSync(uiRoot)) {
8582
fs.readdirSync(uiRoot, { withFileTypes: true })
8683
.filter(d => d.isDirectory())
@@ -92,8 +89,9 @@ jobs:
9289
if (item.isFile() && (item.name.endsWith('.ts') || item.name.endsWith('.tsx')) && item.name !== 'index.ts') {
9390
componentFiles.push(path.join(dir.name, item.name));
9491
}
95-
});
96-
}
92+
}
93+
});
94+
}
9795
9896
for (const relativeFilePath of componentFiles) {
9997
const componentName = path.basename(relativeFilePath, path.extname(relativeFilePath));

0 commit comments

Comments
 (0)