summaryrefslogtreecommitdiff
path: root/cmd/hexai-lsp-server
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hexai-lsp-server')
-rw-r--r--cmd/hexai-lsp-server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/hexai-lsp-server/main.go b/cmd/hexai-lsp-server/main.go
index 6577bc2..3f7ed60 100644
--- a/cmd/hexai-lsp-server/main.go
+++ b/cmd/hexai-lsp-server/main.go
@@ -39,5 +39,5 @@ func defaultLogPath() string {
if err != nil {
return filepath.Join(os.TempDir(), "hexai-lsp-server.log")
}
- return fmt.Sprintf("%s/hexai-lsp-server.log", stateDir)
+ return filepath.Join(stateDir, "hexai-lsp-server.log")
}