fastlane
fastlane copied to clipboard
🐛 Fastlane `sh` with `log:false` replacing `step_name` to `Step: shell command` instead of step_name parameter
New Issue Checklist
- [ ] Updated fastlane to the latest version
- [ ] I read the Contribution Guidelines
- [ ] I read docs.fastlane.tools
- [ ] I searched for existing GitHub issues
Issue Description
Currently, everytime I passing log:false into sh actions, the step_name didn't show the message I've set
example lane:
desc 'Listing Directory'
lane:wakwaw do |options|
sh(
"ls",
step_name:"\e[1;94mList current directory\e[0m"
)
end
showing output:
Driving the lane 'wakwaw' 🚀
-----------------------------------------------
--- Step: List current directory ---
-----------------------------------------------
$ ls
**List of directory in cwd**
fastlane.tools finished successfully 🎉
but when I add log:false like this:
desc 'Listing Directory'
lane:wakwaw do |options|
sh(
"ls",
step_name:"\e[1;94mList current directory\e[0m",
log:false
)
end
the output of Step name seems to use default value Step: shell command
Driving the lane 'wakwaw' 🚀
---------------------------
--- Step: shell command ---
---------------------------
fastlane.tools finished successfully 🎉
I expecting the Step name output should use step_name value even when the log parameter is passed.
Command executed
Complete output when running fastlane, including the stack trace and command used
[REPLACE THIS WITH YOUR INFORMATION]
Environment
[REPLACE THIS WITH YOUR INFORMATION]