Skip to content

Commit

Permalink
🤦 Resolve promise after stuff's done
Browse files Browse the repository at this point in the history
  • Loading branch information
steelbrain committed Jan 2, 2016
1 parent e1d7819 commit 6211d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ function tempFiles(files, callback) {
if (foundError) {
throw result;
} else return result;
});
}).then(resolve, reject);
});
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ export function tempFiles(files, callback) {
if (foundError) {
throw result
} else return result
})
}).then(resolve, reject)
})
})
}
Expand Down

0 comments on commit 6211d77

Please sign in to comment.