}
async function execGomodifytags(args, input) {
try {
- const stdout = await tools_1.execTool(binaries_1.GOMODIFYTAGS, args, input);
+ const stdout = await (0, tools_1.execTool)(binaries_1.GOMODIFYTAGS, args, input);
const mods = JSON.parse(stdout);
return {
range: {
function fileArchive(fileName, fileContents) {
return fileName + '\n' + Buffer.byteLength(fileContents, 'utf8') + '\n' + fileContents;
}
-// https://github.com/microsoft/vscode-go/blob/master/src/util.ts#L84
+// https://github.com/golang/vscode-go/blob/master/src/util.ts#L84
function byteOffsetAt(document, position) {
const offset = document.offsetAt(position);
const text = document.getText();