aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/jobs/govuk_guix/job.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jobs/govuk_guix/job.rb b/app/jobs/govuk_guix/job.rb
index f296edf..fdac507 100644
--- a/app/jobs/govuk_guix/job.rb
+++ b/app/jobs/govuk_guix/job.rb
@@ -74,7 +74,7 @@ class GovukGuix::Job < Que::Job
raise "Running #{command.join(' ')} failed:\n\n#{output.join}\n"
end
- stdout_str
+ JSON.parse(stdout_str)
else
JSON.parse(File.read(filename))
end