This commit is contained in:
fxy060608 2018-11-18 19:50:48 +08:00
parent 12cd8e2caf
commit 725c921815

View File

@ -83,7 +83,7 @@ module.exports = (api, options, rootOptions) => {
if (fs.existsSync(tmp)) {
try {
require('rimraf/rimraf').sync.rm(tmp)
require('rimraf').sync(tmp)
} catch (e) {
console.error(e)
}