مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
chore: allow config location message to be suppressed
هذا الالتزام موجود في:
@@ -43,7 +43,9 @@ module Postal
|
|||||||
# key is a legacy file whereas new-style config files will include
|
# key is a legacy file whereas new-style config files will include
|
||||||
# the 'version: 2' key/value.
|
# the 'version: 2' key/value.
|
||||||
if File.file?(config_file_path)
|
if File.file?(config_file_path)
|
||||||
puts "Loading config from #{config_file_path}"
|
unless ENV.fetch("SILENCE_POSTAL_CONFIG_LOCATION_MESSAGE", "false") == "true"
|
||||||
|
warn "Loading config from #{config_file_path}"
|
||||||
|
end
|
||||||
|
|
||||||
config_file = File.read(config_file_path)
|
config_file = File.read(config_file_path)
|
||||||
yaml = YAML.safe_load(config_file)
|
yaml = YAML.safe_load(config_file)
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم