Skip to content

Commit e236779

Browse files
fix: apply proper formatting to JetBrains error message code
Apply Biome formatter requirements for consistent code style. Co-authored-by: kylecarbs <7122116+kylecarbs@users.noreply.github.com>
1 parent b68fb67 commit e236779

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

site/src/modules/apps/useAppLink.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,15 @@ export const useAppLink = (
5151
const openAppExternallyFailedTimeout = 500;
5252
const openAppExternallyFailed = setTimeout(() => {
5353
// Check if this is a JetBrains IDE app
54-
const isJetBrainsApp = app.url && (
55-
app.url.startsWith("jetbrains-gateway:") ||
56-
app.url.startsWith("jetbrains:")
57-
);
58-
54+
const isJetBrainsApp =
55+
app.url &&
56+
(app.url.startsWith("jetbrains-gateway:") ||
57+
app.url.startsWith("jetbrains:"));
58+
5959
if (isJetBrainsApp) {
60-
displayError(`To use ${label}, you need to have JetBrains Toolbox installed.`);
60+
displayError(
61+
`To use ${label}, you need to have JetBrains Toolbox installed.`,
62+
);
6163
} else {
6264
displayError(`${label} must be installed first.`);
6365
}

0 commit comments

Comments
 (0)