Skip to content

Commit

Permalink
run_helper_subprocess can return nil
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee committed Nov 1, 2023
1 parent f07a9cd commit 3e739c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/lib/dependabot/shared_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def self.escape_command(command)
stderr_to_stdout: T::Boolean,
allow_unsafe_shell_command: T::Boolean
)
.returns(T.any(String, T::Hash[String, T.untyped], T::Array[T::Hash[String, T.untyped]]))
.returns(T.nilable(T.any(String, T::Hash[String, T.untyped], T::Array[T::Hash[String, T.untyped]])))
end
def self.run_helper_subprocess(command:, function:, args:, env: nil,
stderr_to_stdout: false,
Expand Down

0 comments on commit 3e739c4

Please sign in to comment.