Skip to content

Commit

Permalink
fix: Issue #17
Browse files Browse the repository at this point in the history
  • Loading branch information
LitixThomas committed Nov 8, 2016
1 parent 760ad03 commit fbaf966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browsers/Edge.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var CMD;
try {
CMD = resolve.sync('edge-launcher/Win32/MicrosoftEdgeLauncher.exe');
} catch (e) {
return;
return '';
}

module.exports = {
Expand Down

1 comment on commit fbaf966

@nickserv
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately this is still breaking, because by returning early DEFAULT_CMD won't be set, causing failures on systems that don't have Edge installed. Please merge #18.

Please sign in to comment.