lib/burner/jobs/io/exist.rb in burner-1.0.0.pre.alpha.3 vs lib/burner/jobs/io/exist.rb in burner-1.0.0.pre.alpha.4

- old
+ new

@@ -23,11 +23,11 @@ @short_circuit = short_circuit || false freeze end - def perform(output, _payload, params) - compiled_path = compile_path(params) + def perform(output, payload) + compiled_path = job_string_template(path, output, payload) exists = File.exist?(compiled_path) verb = exists ? 'does' : 'does not' output.detail("The path: #{compiled_path} #{verb} exist")