Skip to content

Commit

Permalink
fix: resolved 'build components complete' log (didi#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuping authored and xxyan0205 committed Jul 29, 2019
1 parent 2b3a55f commit 45936c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/rollup/build-component.rollup.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ function compileVueAndReplace(filePath) {
fs.writeFileAsync(jsFilePath, result)
.then(() => fs.writeFileAsync(cssFilePath, styleContent))
.then(() => {
return fs.unlinkAsync(filePath)
fs.unlinkAsync(filePath)
resolve()
})
})
})
Expand Down

0 comments on commit 45936c4

Please sign in to comment.