We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b48e346 + 1172a5f commit 3ad8be1Copy full SHA for 3ad8be1
Library/Homebrew/dev-cmd/tests.rb
@@ -230,7 +230,8 @@ def non_linux_files(files)
230
def changed_test_files
231
changed_files = Utils.popen_read("git", "diff", "--name-only", "main")
232
233
- raise UsageError, "No files have been changed from the `main` branch!" if changed_files.blank?
+ odebug "No files have been changed from the `main` branch." if changed_files.blank?
234
+ return [] if changed_files.blank?
235
236
filestub_regex = %r{Library/Homebrew/([\w/-]+).rb}
237
T.cast(changed_files.scan(filestub_regex), T::Array[T::Array[String]])
0 commit comments