Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
1 changed files with
6 additions and
0 deletions
-
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} |
|
|
|
} |
|
|
|
|
|
|
|