Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstubbs committed Aug 15, 2024
1 parent 94486dc commit dfc96c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions packages/cli/src/cli/commands/import/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export function preprocessBaseURL(originalBaseURL: string) {
let baseURL: string | null = originalBaseURL;

if (originalBaseURL == null) {
console.log("ITS NULL");
return null;
}

Expand All @@ -26,10 +25,9 @@ export function preprocessBaseURL(originalBaseURL: string) {
new URL(originalBaseURL);
}

console.log({baseURL});
return baseURL;
} catch (_err) {
console.log(_err);
console.error(_err);
return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/lib/addonApiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class AddOnApiHelper {
static async getIdToken(
requiredScopes?: string[],
): Promise<{ idToken: string; oauthToken: string }>;
static async getIdToken(requiredScopes?: string[], withAuthToken?: boolean) {
static async getIdToken(requiredScopes?: string[]) {
let authDetails = await getLocalAuthDetails(requiredScopes);

// If auth details not found, try user logging in
Expand Down

0 comments on commit dfc96c3

Please sign in to comment.