diff --git a/src/drivers/gitlab.js b/src/drivers/gitlab.js index b50082a4d..85a9dd677 100644 --- a/src/drivers/gitlab.js +++ b/src/drivers/gitlab.js @@ -64,7 +64,7 @@ class Gitlab { ); if (!this.detectedBase) { if (possibleBases.length) throw possibleBases[0]; - else throw new Error('Invalid repository address'); + throw new Error('Invalid repository address'); } return this.detectedBase;