Skip to content

Commit 251b609

Browse files
Make GL URL optional
1 parent fa3c2a7 commit 251b609

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

index.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,7 @@ try {
2525
process.exit(1);
2626
}
2727

28-
// Ensure that the GitLab URL and token has been set in settings.js
29-
if (
30-
!settings.gitlab.url ||
31-
settings.gitlab.url === 'http://gitlab.mycompany.com/'
32-
) {
33-
console.log('\n\nYou have to enter your GitLab url in the settings.js file.');
34-
process.exit(1);
35-
}
28+
// Ensure that the GitLab token has been set in settings.js
3629
if (
3730
!settings.gitlab.token ||
3831
settings.gitlab.token === '{{gitlab private token}}'

0 commit comments

Comments
 (0)