瀏覽代碼

Fix release script

Shalom Yerushalmy 6 年之前
父節點
當前提交
245b96748f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js 查看文件

@@ -48,7 +48,7 @@ function calcNewVersion() {
48 48
 }
49 49
 
50 50
 function copyNpmRc() {
51
-  exec.execSync(`rm -f package-lock.json`);
51
+  execSync(`rm -f package-lock.json`);
52 52
   const npmrcPath = p.resolve(`${__dirname}/.npmrc`);
53 53
   execSync(`cp -rf ${npmrcPath} .`);
54 54
 }