return in the catch branch so the control flow is more clear

This commit is contained in:
Michael Bradley, Jr 2018-10-11 14:46:45 -05:00 committed by Pascal Precht
parent b9e592ae2e
commit 0f6e84bca3
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class TemplateGenerator {
}
}
} catch (e) {
this.downloadFailed();
return this.downloadFailed();
}
utils.extractZip(tmpFilePath, fspath, {
map: file => {