Merge remote-tracking branch 'upstream/ids_lab_squashed' into week_4_merge_branch

# Conflicts:
#	lib/templates/Vagrantfile.erb
This commit is contained in:
thomashaw
2017-10-21 10:52:02 +01:00
387 changed files with 30330 additions and 76 deletions

View File

@@ -304,6 +304,11 @@ class System
command = "ruby #{selected.local_calc_file} #{args_string}"
Print.verbose "Running: #{command}"
outputs = `#{command}`.chomp
unless $?.success?
Print.err "Module failed to run (#{command})"
# TODO: this works, but subsequent attempts at resolving the scenario always fail ("Error can't add no data...")
raise 'failed'
end
output_array = outputs.split("\n")
selected.output = output_array.map { |o| Base64.strict_decode64 o }
end