diff --git a/classes/publish/package/index.js b/classes/publish/package/index.js index 1c6aa564..a86cc68f 100644 --- a/classes/publish/package/index.js +++ b/classes/publish/package/index.js @@ -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;