From 16d2394224f58ed75f1c9e75ba005a14e0ef01ea Mon Sep 17 00:00:00 2001 From: public_host Date: Tue, 20 Apr 2021 16:12:12 +0800 Subject: [PATCH] fix --- hasaki-gen-crud/hasaki-gen-crud.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hasaki-gen-crud/hasaki-gen-crud.js b/hasaki-gen-crud/hasaki-gen-crud.js index a57db74..50c66e8 100644 --- a/hasaki-gen-crud/hasaki-gen-crud.js +++ b/hasaki-gen-crud/hasaki-gen-crud.js @@ -14,8 +14,8 @@ try { // }).catch(error => { // console.log("fix:", error); // }) - vscode.commands.executeCommand('editor.action.quickFix', vscode.Uri.file(path)); - // vscode.window.createTerminal("cmd.exe", "/c", `gopls fix -a -w ${path}`).show() + // vscode.commands.executeCommand('editor.action.quickFix', vscode.Uri.file(path)); + vscode.window.createTerminal("go:fix", "cmd.exe", "/c", `gopls fix -a -w ${path}`).show() }