Skip to content

Commit

Permalink
formats
Browse files Browse the repository at this point in the history
  • Loading branch information
joehan committed Oct 4, 2024
1 parent de12786 commit 8e9b619
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dataconnect/freeTrial.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ export async function checkFreeTrialInstanceUsed(projectId: string): Promise<boo
return ts[0].points.some((p) => p.value.int64Value);
}
return true;
} catch(err: any) {
} catch (err: any) {

Check warning on line 27 in src/dataconnect/freeTrial.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Unexpected any. Specify a different type
// If the metric doesn't exist, free trial is not used.
return false;
}

}

export async function getFreeTrialInstanceId(projectId: string): Promise<string | undefined> {

Check warning on line 33 in src/dataconnect/freeTrial.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Missing JSDoc comment
Expand Down

0 comments on commit 8e9b619

Please sign in to comment.