Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 7ecf924

Browse files
committed
fix linting
1 parent 1dd56b2 commit 7ecf924

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/api/clients.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import http from "http";
77
const argv = hideBin(process.argv);
88

99
const getDomainWithoutSubdomain = (url: string) => {
10-
const urlParts = new URL(url).hostname.split('.')
10+
const urlParts = new URL(url).hostname.split(".");
1111

1212
return urlParts
1313
.slice(0)
1414
.slice(-(urlParts.length === 4 ? 3 : 2))
15-
.join('.')
16-
}
15+
.join(".");
16+
};
1717

1818
function getBaseUrl(): string {
1919
const { BASELIME_DOMAIN = "baselime.io" } = process.env;

0 commit comments

Comments
 (0)