lib/scout/workflow/task/inputs.rb in scout-gear-10.7.0 vs lib/scout/workflow/task/inputs.rb in scout-gear-10.7.1
- old
+ new
@@ -89,9 +89,11 @@
input_file = File.join(directory, name.to_s)
if Path.is_filename?(value)
if type == :path
Open.write(input_file + ".as_path", value)
+ elsif Path.step_file?(value)
+ Open.write(input_file + ".as_path", value)
else
relative_file = save_file_input(value, directory)
Open.write(input_file + ".as_file", relative_file)
end
elsif Step === value