Skip to content

Commit

Permalink
fix: fix broken CLI again
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 13, 2019
1 parent 81896d3 commit 4e12b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export function removeQueryString(serverUrl: string): string {
}

function parseURL(url: string) {
if (typeof URL === undefined) {
if (typeof URL === 'undefined') {
// node
return new (require('url')).URL(url);
} else {
Expand Down

0 comments on commit 4e12b5d

Please sign in to comment.