Skip to content

Commit

Permalink
fix: node_cmd bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed Apr 22, 2022
1 parent 2e40182 commit 65a16a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/koi/daemon/node_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func CreateNodeCmd(
notFound := true
for i, e := range env {
if strings.HasPrefix(e, "PATH=") {
pathEnv = e
pathEnv = e[5:]
env = append(env[:i], env[i+1:]...)
notFound = false
break
Expand All @@ -100,7 +100,6 @@ func CreateNodeCmd(
break
}
}
pathEnv = pathEnv[5:]
var pathSepr string
if runtime.GOOS == "windows" {
pathSepr = ";"
Expand Down

0 comments on commit 65a16a2

Please sign in to comment.