Skip to content

Commit e109c9d

Browse files
committed
[Issue #14] - Bake fails with eternallybored's wget for Windows
1 parent f716182 commit e109c9d

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Fixes
66

7+
- [Issue #14] - Bake fails with eternallybored's wget for Windows
78
- [Issue #12] - Doesn't properly kill server
89

910
## [0.1.0] - 2018-03-31

index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,13 @@ function download() {
113113
console.log("Running " + wgetcmd);
114114

115115
try {
116-
shell.execSync(wgetcmd);
116+
117+
try {
118+
shell.execSync(wgetcmd);
119+
}
120+
catch (ex) {
121+
console.log("Wget exited unexpectedly. Please check output before committing.");
122+
}
117123

118124
// Run the post command
119125
if (config.postcmd && config.postcmd.length) {

0 commit comments

Comments
 (0)