Skip to content

Commit aefe4cc

Browse files
committed
rename variable
1 parent afbecf9 commit aefe4cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extension/src/LanguageServer/devcmd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFo
1616
const localize: nls.LocalizeFunc = nls.loadMessageBundle();
1717

1818
const ERROR_NO_CONTEXT = localize('no.context.provided', 'No context provided');
19-
const NOT_WINDOWS = localize('not.windows', 'This command is only available on Windows');
19+
const ERROR_NOT_WINDOWS = localize('not.windows', 'This command is only available on Windows');
2020
const ERROR_NO_VS_FOUND = localize('error.no.vs', 'A Visual Studio installation with the C++ compiler was not found');
2121
const ERROR_OPERATION_CANCELLED = localize('operation.cancelled', 'The operation was cancelled');
2222
const ERROR_NO_HOSTS_FOUND = localize('no.hosts', 'No hosts found');
@@ -33,7 +33,7 @@ export function isEnvironmentOverrideApplied(context?: vscode.ExtensionContext)
3333

3434
export async function setEnvironment(context?: vscode.ExtensionContext) {
3535
if (!isWindows) {
36-
throw new Error(NOT_WINDOWS);
36+
throw new Error(ERROR_NOT_WINDOWS);
3737
}
3838

3939
if (!context) {

0 commit comments

Comments
 (0)