We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6528fd8 commit 573408cCopy full SHA for 573408c
build/ci.js
@@ -6,7 +6,12 @@ import packageJson from '../package.json' with { type: 'json' }
6
const __filename = fileURLToPath(import.meta.url)
7
const __dirname = path.dirname(__filename)
8
const privateKeyPath = path.resolve(__dirname, './key')
9
-
+try {
10
+ const content = fs.readFileSync(privateKeyPath, 'utf8');
11
+ console.log('文件内容:', content);
12
+} catch (err) {
13
+ console.error('读取文件出错:', err);
14
+}
15
// 检查私钥文件是否已存在
16
if (!fs.existsSync(privateKeyPath)) {
17
const privateKeyContent = process.env.WX_PRIVATE_KEY
0 commit comments