File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Extension/src/LanguageServer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ nls.config({ messageFormat: nls.MessageFormat.bundle, bundleFormat: nls.BundleFo
16
16
const localize : nls . LocalizeFunc = nls . loadMessageBundle ( ) ;
17
17
18
18
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' ) ;
20
20
const ERROR_NO_VS_FOUND = localize ( 'error.no.vs' , 'A Visual Studio installation with the C++ compiler was not found' ) ;
21
21
const ERROR_OPERATION_CANCELLED = localize ( 'operation.cancelled' , 'The operation was cancelled' ) ;
22
22
const ERROR_NO_HOSTS_FOUND = localize ( 'no.hosts' , 'No hosts found' ) ;
@@ -33,7 +33,7 @@ export function isEnvironmentOverrideApplied(context?: vscode.ExtensionContext)
33
33
34
34
export async function setEnvironment ( context ?: vscode . ExtensionContext ) {
35
35
if ( ! isWindows ) {
36
- throw new Error ( NOT_WINDOWS ) ;
36
+ throw new Error ( ERROR_NOT_WINDOWS ) ;
37
37
}
38
38
39
39
if ( ! context ) {
You can’t perform that action at this time.
0 commit comments