Skip to content

Commit

Permalink
Remove redundant else
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored May 27, 2021
1 parent bafe6c7 commit fefbdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/gitlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

1 comment on commit fefbdda

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test Comment

CML watermark

Please sign in to comment.