Skip to content

Commit a28848e

Browse files
CopilotGrantBirki
andcommitted
Fix logger usage in ConfigLoader - replace logger.info with puts to avoid dependency on uninitialized logger
Co-authored-by: GrantBirki <[email protected]>
1 parent 717db60 commit a28848e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hooks/core/config_loader.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def self.load(config_path: nil)
6565

6666
# Log overrides if any were made
6767
if overrides.any?
68-
logger.info("Configuration overrides applied from: #{overrides.join(', ')}")
68+
puts "INFO: Configuration overrides applied from: #{overrides.join(', ')}"
6969
end
7070

7171
return config

0 commit comments

Comments
 (0)