Skip to content

Commit 573408c

Browse files
author
v_guanglwen
committed
feat: 测试
1 parent 6528fd8 commit 573408c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build/ci.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ import packageJson from '../package.json' with { type: 'json' }
66
const __filename = fileURLToPath(import.meta.url)
77
const __dirname = path.dirname(__filename)
88
const privateKeyPath = path.resolve(__dirname, './key')
9-
9+
try {
10+
const content = fs.readFileSync(privateKeyPath, 'utf8');
11+
console.log('文件内容:', content);
12+
} catch (err) {
13+
console.error('读取文件出错:', err);
14+
}
1015
// 检查私钥文件是否已存在
1116
if (!fs.existsSync(privateKeyPath)) {
1217
const privateKeyContent = process.env.WX_PRIVATE_KEY

0 commit comments

Comments
 (0)