Skip to content

Commit

Permalink
Fail on fetch error
Browse files Browse the repository at this point in the history
  • Loading branch information
edofic committed Jan 23, 2017
1 parent f6a6c78 commit 6c679a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bower2nix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ async function fetchBower(outDir: string, name: string, target?: string, version
return patchTarget(json);
}));
Promise.all(_.concat(reg, pkg)).then(() => resolve(info), reject);
});
}, reject);
});
}

Expand Down

0 comments on commit 6c679a6

Please sign in to comment.