Skip to content

Commit

Permalink
Update features/admin.applications.v1/utils/application-management-ut…
Browse files Browse the repository at this point in the history
…ils.ts
  • Loading branch information
pavinduLakshan authored Oct 7, 2024
1 parent 5be8d4b commit c6323e7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ export class ApplicationManagementUtils {

public static isApplicationOutdated(applicationVersion: string, grantTypes?: string[]): boolean {

if (applicationVersion != undefined
&& grantTypes.includes(ApplicationManagementConstants.CLIENT_CREDENTIALS_GRANT)) {
if (
applicationVersion != undefined

Check warning on line 110 in features/admin.applications.v1/utils/application-management-utils.ts

View workflow job for this annotation

GitHub Actions / ⬣ ESLint (STATIC ANALYSIS) (lts/*, 8.7.4)

Expected indentation of 12 spaces but found 13
&& grantTypes.includes(ApplicationManagementConstants.CLIENT_CREDENTIALS_GRANT)
) {

const appVersionArray: number[] = applicationVersion?.match(/\d+/g).map(Number);
const latestAppVersionArray: number[] = ApplicationManagementConstants
Expand Down

0 comments on commit c6323e7

Please sign in to comment.