Browse Source

Don't indicate git ref if master branch

master
Leo Lamprecht 8 years ago
parent
commit
c9c32664bb
No known key found for this signature in database GPG Key ID: B08517883D5E0E10
  1. 6
      lib/github.js

6
lib/github.js

@ -52,6 +52,12 @@ const splittedURL = fullURL => {
ref = ref.substring(0, 7)
}
// We're deploying master by default,
// so there's no need to indicate it explicitly
if (ref === 'master') {
ref = ''
}
return {main, ref}
}

Loading…
Cancel
Save