We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92c7f2 commit 3ecb5a6Copy full SHA for 3ecb5a6
build/ci.js
@@ -1,8 +1,10 @@
1
import path from 'path'
2
+import { fileURLToPath } from 'url'
3
import fs from 'fs'
4
import ci from 'miniprogram-ci'
-import packageJson from '../package.json' assert { type: 'json' }
5
-
+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
10
// 检查私钥文件是否已存在
0 commit comments