Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Feb 22, 2024
1 parent aa9f86f commit 8b20461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/che.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ export namespace Che {
const kubeClient = KubeClient.getInstance()
const cheCluster = await kubeClient.getCheCluster(namespace)

return !cheCluster?.spec?.components?.pluginRegistry?.openVSXURL
return !!cheCluster?.spec?.components?.pluginRegistry?.openVSXURL

Check failure on line 142 in src/utils/che.ts

View workflow job for this annotation

GitHub Actions / release-test

use `Boolean(cheCluster?.spec?.components?.pluginRegistry?.openVSXURL)` instead

Check failure on line 142 in src/utils/che.ts

View workflow job for this annotation

GitHub Actions / unit-tests

use `Boolean(cheCluster?.spec?.components?.pluginRegistry?.openVSXURL)` instead
}
}

0 comments on commit 8b20461

Please sign in to comment.