소스 검색

fix: Fail bench build in CI environment

version-14
Faris Ansari 6 년 전
부모
커밋
a7613c174e
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. +7
    -1
      rollup/build.js

+ 7
- 1
rollup/build.js 파일 보기

@@ -63,7 +63,13 @@ function build_assets(app) {
function build(inputOptions, outputOptions) {
return rollup.rollup(inputOptions)
.then(bundle => bundle.write(outputOptions))
.catch(err => log(chalk.red(err)));
.catch(err => {
log(chalk.red(err));
// Kill process to fail in a CI environment
if (process.env.CI) {
process.kill(process.pid)
}
});
}

function concatenate_files() {


불러오는 중...
취소
저장