public_host 4 years ago
parent
commit
d8fb13ae17
  1. 2
      hasaki-gen-crud/hasaki-gen-crud.js

2
hasaki-gen-crud/hasaki-gen-crud.js

@ -15,7 +15,7 @@ try {
// console.log("fix:", error);
// })
// vscode.commands.executeCommand('editor.action.quickFix', vscode.Uri.file(path));
vscode.window.createTerminal("go:fix", "cmd.exe", "/c", `gopls fix -a -w ${path} && pause`).show()
vscode.window.createTerminal("go:fix", "cmd.exe", ["/c", `gopls fix -a -w ${path} && pause`]).show()
}

Loading…
Cancel
Save