Skip to content

Commit

Permalink
fix: fix colliding var name with pkg name
Browse files Browse the repository at this point in the history
  • Loading branch information
x1unix committed Jul 17, 2024
1 parent 8c0aba7 commit 7452a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ func GnoplsCmd() *cobra.Command {
SilenceUsage: true,
RunE: func(cmd *cobra.Command, args []string) error {
slog.Info("Initializing Server...")
env := &env.Env{
procEnv := &env.Env{
GNOROOT: os.Getenv("GNOROOT"),
GNOHOME: env.GnoHome(),
}
err := lsp.RunServer(cmd.Context(), env)
err := lsp.RunServer(cmd.Context(), procEnv)
if err != nil {
return err
}
Expand Down

0 comments on commit 7452a67

Please sign in to comment.