fabric8-analytics-lsp-server
Advanced tools
Comparing version 0.4.6 to 0.4.7
@@ -151,3 +151,3 @@ /* -------------------------------------------------------------------------------------------- | ||
const vscodeRootpath = this.manifestFile.replace("file://", "").replace("/go.mod", ""); | ||
child_process_1.exec(`${config_1.config.golang_executable} list -f '{{ join .Imports "\\n" }}' ./...`, { cwd: vscodeRootpath, maxBuffer: 1024 * 1200 }, (error, stdout, stderr) => { | ||
child_process_1.exec(utils_1.getGoLangImportsCmd(), { cwd: vscodeRootpath, maxBuffer: 1024 * 1200 }, (error, stdout, stderr) => { | ||
if (error) { | ||
@@ -154,0 +154,0 @@ if (error.code == 127) { // Invalid command, go executable not found |
{ | ||
"name": "fabric8-analytics-lsp-server", | ||
"description": "LSP Server for Dependency Analytics", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"author": "Pavel Odvody", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -7,4 +7,5 @@ /* -------------------------------------------------------------------------------------------- | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.get_range = exports.to_lsp_position = exports.stream_from_string = void 0; | ||
exports.getGoLangImportsCmd = exports.get_range = exports.to_lsp_position = exports.stream_from_string = void 0; | ||
const stream_1 = require("stream"); | ||
const config_1 = require("./config"); | ||
exports.stream_from_string = (s) => { | ||
@@ -46,2 +47,5 @@ let stream = new stream_1.Readable(); | ||
}; | ||
exports.getGoLangImportsCmd = () => { | ||
return `${config_1.config.golang_executable} list -mod=readonly -f '{{ join .Imports "\\n" }}' ./...`; | ||
}; | ||
//# sourceMappingURL=utils.js.map |
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
91349
970