Skip to content

Commit

Permalink
use env command for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dekokun committed Aug 6, 2020
1 parent 8fb21ce commit 3452fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion json2env.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func Run(ctx context.Context, argv []string, outStream, errStream io.Writer, inS
if err != nil {
return errors.Wrapf(err, "failed to decode input %+s", inStream)
}
command := []string{"ls"}
command := []string{"env"}
newEnv := makeNewEnv(env, envJSON)
if err := runCommand(command, newEnv); err != nil {
return errors.Wrapf(err, "failed to run command %+s", command)
Expand Down

0 comments on commit 3452fa5

Please sign in to comment.