Skip to content

Commit

Permalink
fix: do not cleanup tmp files on dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis CI authored and digitalsadhu committed Jun 23, 2020
1 parent 803cf88 commit 85a2bbc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions classes/publish/package/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ module.exports = class PublishApp {

if (this.dryRun) {
await this.runDryRun.process(incoming, outgoing);
} else {
await this.uploadFiles.process(incoming, outgoing);
await this.saveMetafile.process(incoming, outgoing);
return outgoing;
}


await this.uploadFiles.process(incoming, outgoing);
await this.saveMetafile.process(incoming, outgoing);
await this.cleanup.process(incoming, outgoing);

return outgoing;
Expand Down

0 comments on commit 85a2bbc

Please sign in to comment.