mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2026-01-30 00:05:29 +08:00
fix rm
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user