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
1616const localize : nls . LocalizeFunc = nls . loadMessageBundle ( ) ;
1717
1818const 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' ) ;
2020const ERROR_NO_VS_FOUND = localize ( 'error.no.vs' , 'A Visual Studio installation with the C++ compiler was not found' ) ;
2121const ERROR_OPERATION_CANCELLED = localize ( 'operation.cancelled' , 'The operation was cancelled' ) ;
2222const ERROR_NO_HOSTS_FOUND = localize ( 'no.hosts' , 'No hosts found' ) ;
@@ -33,7 +33,7 @@ export function isEnvironmentOverrideApplied(context?: vscode.ExtensionContext)
3333
3434export 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 ) {
You can’t perform that action at this time.
0 commit comments