fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -130,3 +130,8 @@ /* -------------------------------------------------------------------------------------------- | ||
if (error) { | ||
reject(`'${config_1.config.golang_executable} list' command failed with error :: ${stderr}`); | ||
if (error.code == 127) { // Invalid command, go executable not found | ||
reject(`Unable to locate '${config_1.config.golang_executable}'`); | ||
} | ||
else { | ||
reject(`Unable to execute '${config_1.config.golang_executable} list' command, run '${config_1.config.golang_executable} mod tidy' to know more`); | ||
} | ||
} | ||
@@ -133,0 +138,0 @@ else { |
{ | ||
"name": "fabric8-analytics-lsp-server", | ||
"description": "LSP Server for Dependency Analytics", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"author": "Pavel Odvody", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -224,4 +224,4 @@ /* -------------------------------------------------------------------------------------------- | ||
if (ecosystem == "golang") { | ||
console.error("Command execution failed, something wrong with manifest file go.mod\n%s", error); | ||
connection.sendNotification('caError', { 'data': `Unable to execute '${config_1.config.golang_executable} list' command, run '${config_1.config.golang_executable} mod tidy' to resolve dependencies issues` }); | ||
connection.console.error(`Command execution failed with error: ${error}`); | ||
connection.sendNotification('caError', { 'data': error }); | ||
return; | ||
@@ -228,0 +228,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89121
937