From 7a951a244da81a61c88f198857bce67a26e6e286 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Silas=20Fontain=20Hestb=C3=A6k?= Date: Mon, 15 Mar 2021 21:17:42 +0100 Subject: [PATCH] Align text wording with actual button text --- client/src/extension.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/extension.ts b/client/src/extension.ts index a103876b..c06b4858 100644 --- a/client/src/extension.ts +++ b/client/src/extension.ts @@ -529,8 +529,8 @@ async function askForLibraryConfirmation(client: LanguageClient | undefined, con message = `The ESLint extension will use '${relativePath}' for validation, which is installed locally in folder '${folder.name}'. Do you allow the execution of this ESLint version including all plugins and configuration files it will load on your behalf?\n\nPress 'Allow Everywhere' to remember the choice for all workspaces. Use 'Disable' to disable ESLint for this session.`; } else { message = params.scope === 'global' - ? `The ESLint extension will use a globally installed ESLint library for validation. Do you allow the execution of this ESLint version including all plugins and configuration files it will load on your behalf?\n\nPress 'Always Allow' to remember the choice for all workspaces. Use 'Cancel' to disable ESLint for this session.` - : `The ESLint extension will use a locally installed ESLint library for validation. Do you allow the execution of this ESLint version including all plugins and configuration files it will load on your behalf?\n\nPress 'Always Allow' to remember the choice for all workspaces. Use 'Cancel' to disable ESLint for this session.`; + ? `The ESLint extension will use a globally installed ESLint library for validation. Do you allow the execution of this ESLint version including all plugins and configuration files it will load on your behalf?\n\nPress 'Allow Everywhere' to remember the choice for all workspaces. Use 'Cancel' to disable ESLint for this session.` + : `The ESLint extension will use a locally installed ESLint library for validation. Do you allow the execution of this ESLint version including all plugins and configuration files it will load on your behalf?\n\nPress 'Allow Everywhere' to remember the choice for all workspaces. Use 'Cancel' to disable ESLint for this session.`; } const messageItems: ConfirmMessageItem[] = [