Skip to content

Commit 9868621

Browse files
authored
Merge pull request #112 from ember-cli/rwjblue-patch-1
Prevent error when calling fs.unlink without a callback
2 parents 09f7fad + ccc9c18 commit 9868621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/ember-modules-codemod.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function buildReport() {
9393
});
9494

9595
// Delete the temporary log file
96-
fs.unlink(log);
96+
fs.unlinkSync(log);
9797
});
9898

9999
// If there's anything to report, convert the JSON tuple into human-formatted

0 commit comments

Comments
 (0)