Skip to content

Commit 1c7b6b5

Browse files
committed
fix: PR 생성 시 require 경로 오류 수정
- 상대 경로를 path.resolve()로 절대 경로로 변환 - MODULE_NOT_FOUND 에러 해결
1 parent 639ff48 commit 1c7b6b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ jobs:
246246
fs.readdirSync(packagesDir).forEach(dir => {
247247
const pkgPath = path.join(packagesDir, dir, 'package.json');
248248
if (fs.existsSync(pkgPath)) {
249-
const pkg = require(pkgPath);
249+
const pkg = require(path.resolve(pkgPath));
250250
packages += \`\\n- \${pkg.name}@\${pkg.version}\`;
251251
}
252252
});

0 commit comments

Comments
 (0)