Skip to content

Commit

Permalink
Restyled by prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and 0x2b3bfa0 committed Jun 25, 2021
1 parent e23244d commit c9b0060
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/drivers/gitlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ class Gitlab {
})
);

this.detectedBase = possibleBases.find(
(base) => typeof base === 'string'
);
this.detectedBase = possibleBases.find((base) => typeof base === 'string');
if (!this.detectedBase) {
if (possibleBases.length) throw possibleBases[0];
throw new Error('Invalid repository address');
Expand Down

0 comments on commit c9b0060

Please sign in to comment.