Skip to content

Commit

Permalink
[action][sh] fix undefined sh_enabled? method when using Action.sh fr…
Browse files Browse the repository at this point in the history
…om a different module (#21408)

fix error: undefined method `sh_enabled?' for Fastlane::Actions::Helper:Class (NoMethodError if Helper.sh_enabled?
  • Loading branch information
nekrich committed Apr 3, 2024
1 parent d8aa8fc commit 1e517a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/lib/fastlane/helper/sh_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def self.sh_control_output(*command, print_command: true, print_command_output:

result = ''
exit_status = nil
if Helper.sh_enabled?
if FastlaneCore::Helper.sh_enabled?
# The argument list is passed directly to Open3.popen2e, which
# handles the variadic argument list in the same way as Kernel#spawn.
# (http://ruby-doc.org/core-2.4.2/Kernel.html#method-i-spawn) or
Expand Down

0 comments on commit 1e517a9

Please sign in to comment.