Skip to content

Commit

Permalink
fix: ensure PATH is passed through to interp running scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhop committed Apr 15, 2023
1 parent 3769b5f commit 078279e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/shell/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type VariableMap map[string]expand.Variable
// func with const []string return containing environment variables that get
// removed from the environent when sourcing a file
func getEnvVarBlacklist() []string {
return []string{"PWD", "HOME", "PATH", "IFS", "OPTIND"}
return []string{"PWD", "HOME", "IFS", "OPTIND"}
}

// SourceFile()/SourceNode() functions inspired heavily by old convenience
Expand Down

0 comments on commit 078279e

Please sign in to comment.