Skip to content

Commit

Permalink
Merge pull request #31 from Jakosaur/patch-1
Browse files Browse the repository at this point in the history
@Jakosaur Thanks a lot for that fix ✨ I really appreciate it
  • Loading branch information
alexanderwe authored Sep 5, 2018
2 parents 28b7387 + fbcbf8d commit 635c8d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Traveler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,7 @@ export default class Traveler {
if (err) {
reject(new Error('Error extracting zip'));
} else {
zip.close();
fs.unlink(`${manifestUrl.substring(manifestUrl.lastIndexOf('/') + 1)}.zip`, err => {
if (err) {
reject(new Error('Error deleting .zip file'));
Expand Down

0 comments on commit 635c8d9

Please sign in to comment.