summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hexai-lsp-server/main.go (renamed from cmd/hexai-lsp/main.go)2
-rw-r--r--cmd/hexai-lsp-server/main_test.go (renamed from cmd/hexai-lsp/main_test.go)2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/hexai-lsp/main.go b/cmd/hexai-lsp-server/main.go
index 828d0f8..c8cdd8f 100644
--- a/cmd/hexai-lsp/main.go
+++ b/cmd/hexai-lsp-server/main.go
@@ -48,5 +48,5 @@ func defaultLogPath() string {
if err != nil {
panic(fmt.Sprintf("cannot create state directory: %v", err))
}
- return fmt.Sprintf("%s/hexai-lsp.log", stateDir)
+ return fmt.Sprintf("%s/hexai-lsp-server.log", stateDir)
}
diff --git a/cmd/hexai-lsp/main_test.go b/cmd/hexai-lsp-server/main_test.go
index 387b640..5563e3d 100644
--- a/cmd/hexai-lsp/main_test.go
+++ b/cmd/hexai-lsp-server/main_test.go
@@ -10,7 +10,7 @@ import (
func TestMain_Version(t *testing.T) {
oldArgs := os.Args
defer func() { os.Args = oldArgs }()
- os.Args = []string{"hexai-lsp", "-version"}
+ os.Args = []string{"hexai-lsp-server", "-version"}
var buf bytes.Buffer
old := log.Writer()
log.SetOutput(&buf)