Skip to content

Commit 1bf7e5d

Browse files
committed
fixse
1 parent 67084c0 commit 1bf7e5d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/botasaurus-desktop-api/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ function normalizePath(path: string): string {
6969
.join("/")
7070
.replace(/\/+/g, "/");
7171
}
72-
73-
// @ts-ignore
7472
function cleanBasePath(apiBasePath: string | null | undefined){
7573

7674
if (typeof apiBasePath === "string") {
@@ -89,9 +87,9 @@ function cleanBasePath(apiBasePath: string | null | undefined){
8987

9088
return path;
9189
}
90+
return ''
9291

9392
}
94-
9593
export class Api {
9694
private _apiUrl: string;
9795
private _apiBasePath: string;

0 commit comments

Comments
 (0)