Skip to content

Commit 473bea5

Browse files
authored
fix: rejects on error (#6216)
1 parent 7876187 commit 473bea5

File tree

1 file changed

+1
-1
lines changed
  • packages/amplify-provider-awscloudformation/src

1 file changed

+1
-1
lines changed

packages/amplify-provider-awscloudformation/src/zip-util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function downloadZip(s3, tempDir, zipFileName, envName) {
3535
})
3636
.catch(err => {
3737
log(err);
38-
resolve(err);
38+
reject(err);
3939
});
4040
});
4141
}

0 commit comments

Comments
 (0)