Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 53a5a97

Browse files
committed
fix(utils): remove incorrect async from emptyFolder
1 parent ed6d52a commit 53a5a97

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
@@ -456,7 +456,7 @@ module.exports.isNotSet = function (obj) {
456456
return false;
457457
};
458458

459-
module.exports.emptyFolder = async(directoryPath) => {
459+
module.exports.emptyFolder = (directoryPath) => {
460460
require('child_process').execSync(`rm -rf ${directoryPath}/*`);
461461
};
462462

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /