Skip to content

Commit 1ad971c

Browse files
committed
fix(utils): remove incorrect async from emptyFolder
1 parent b004ca8 commit 1ad971c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ module.exports.isNotSet = function (obj) {
476476
return false
477477
}
478478

479-
module.exports.emptyFolder = async directoryPath => {
479+
module.exports.emptyFolder = directoryPath => {
480480
require('child_process').execSync(`rm -rf ${directoryPath}/*`)
481481
}
482482

0 commit comments

Comments
 (0)