Skip to content

Commit

Permalink
Fall back to https origin protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
cookpete committed Oct 31, 2017
1 parent 5ca75a2 commit 74e29b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/origin.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export async function fetchOrigin (remote) {
throw new Error(`Git remote ${remote} was not found`)
}
const origin = parseRepoURL(originURL)
const protocol = origin.protocol || 'http:'
const protocol = origin.protocol || 'https:'
const host = origin.hostname || origin.host
return {
...origin,
Expand Down

0 comments on commit 74e29b4

Please sign in to comment.