Skip to content

Commit

Permalink
fix: set all output to stderr from ui
Browse files Browse the repository at this point in the history
Signed-off-by: Kasper J. Hermansen <[email protected]>
  • Loading branch information
kjuulh committed Nov 24, 2023
1 parent 58579dc commit 276de0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/executors/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func executeShell(ctx context.Context, ui *ui.UI, context ActionExecutionContext
execCmd.Stderr = nil
continue
}
context.ScriptContext.Project.UI.Errorln("%s", line)
context.ScriptContext.Project.UI.Infoln("%s", line)
}
}
}()
Expand Down
2 changes: 1 addition & 1 deletion pkg/ui/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func Create(out, err io.Writer) *UI {
EffectiveLevel: LevelInfo,
DefaultLevel: LevelInfo,
UserLevelSet: false,
Out: out,
Out: err,
Err: err,
}
}
Expand Down

0 comments on commit 276de0c

Please sign in to comment.