use #blank? instead of #nil?

Co-authored-by: Rylan Polster <rslpolster@gmail.com>
This commit is contained in:
Max Eisner 2022-09-02 22:23:26 +02:00 committed by GitHub
parent b41dd8c729
commit 02860aa0e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1752,7 +1752,7 @@ class Formula
popen_read_args = %w[]
popen_read_args << commands
popen_read_args << shell_parameter unless shell_parameter.nil?
popen_read_args << shell_parameter unless shell_parameter.blank?
popen_read_args.flatten!
script_path.dirname.mkpath