lib/concourse-fuselage/support/config.rb in concourse-fuselage-0.4.0 vs lib/concourse-fuselage/support/config.rb in concourse-fuselage-0.4.1
- old
+ new
@@ -7,12 +7,10 @@
include ::Contracts::Core
include ::Contracts::Builtin
Contract None => Hash
def config
- @config ||= (JSON.load STDIN || {}).tap do |payload|
- File.write 'config.json', payload if debugging?
- end
+ @config ||= JSON.load STDIN || {}
end
end
end
end