mirror of https://github.com/embarklabs/embark.git
return in the catch branch so the control flow is more clear
This commit is contained in:
parent
b9e592ae2e
commit
0f6e84bca3
|
@ -64,7 +64,7 @@ class TemplateGenerator {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.downloadFailed();
|
return this.downloadFailed();
|
||||||
}
|
}
|
||||||
utils.extractZip(tmpFilePath, fspath, {
|
utils.extractZip(tmpFilePath, fspath, {
|
||||||
map: file => {
|
map: file => {
|
||||||
|
|
Loading…
Reference in New Issue