浏览代码

elxr fixes

production
samuel 4 年前
父节点
当前提交
44b8640c16
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      index.js

+ 2
- 2
index.js 查看文件

inherit : true, shell: true inherit : true, shell: true
, cwd : repo , cwd : repo
, env: process.env , env: process.env
, title : `bower i for ${repo}`
, title : `npm build for ${repo}`
}).catch((e)=>{ console.error(e) }) }).catch((e)=>{ console.error(e) })
return p; return p;
}) })
, title : `rm 'package-lock.json' for ${repo}` , title : `rm 'package-lock.json' for ${repo}`
}).catch((e)=>{ console.error(e) }) }).catch((e)=>{ console.error(e) })


if( npmbuildrepos.indexOf(repo) != -1) {
if( npmbuildrepos.indexOf(repo) < 0) {
tasks.push(()=>{ tasks.push(()=>{
var p = nodeShellExec('npm', ['i --force'], { var p = nodeShellExec('npm', ['i --force'], {
inherit : true, shell: true inherit : true, shell: true

正在加载...
取消
保存