Readd debug logging.

This commit is contained in:
Markus Reiter 2024-02-07 11:29:39 +01:00
parent 825222cc83
commit c301b9c703
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -577,6 +577,7 @@ module Cask
NullLoader, NullLoader,
].each do |loader_class| ].each do |loader_class|
if (loader = loader_class.try_new(ref, warn: warn)) if (loader = loader_class.try_new(ref, warn: warn))
$stderr.puts "#{$PROGRAM_NAME} (#{loader.class}): loading #{ref}" if debug?
return loader return loader
end end
end end