We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7c4caa + 0946223 commit 8e9f5d6Copy full SHA for 8e9f5d6
src/common.ts
@@ -78,7 +78,7 @@ export function deleteIfExists(filePath: string): Promise<void> {
78
.then((exists: boolean) => {
79
return new Promise<void>((resolve, reject) => {
80
if (!exists) {
81
- resolve();
+ return resolve();
82
}
83
84
fs.unlink(filePath, err => {
0 commit comments