aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/jobs/govuk_guix/build_job.rb2
-rw-r--r--app/jobs/govuk_guix/job.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/app/jobs/govuk_guix/build_job.rb b/app/jobs/govuk_guix/build_job.rb
index fb5e256..c4da654 100644
--- a/app/jobs/govuk_guix/build_job.rb
+++ b/app/jobs/govuk_guix/build_job.rb
@@ -87,7 +87,7 @@ class GovukGuix::BuildJob < GovukGuix::Job
def signon_user_arguments(signon_users)
signon_users.map do |signon_user|
- "--signon-user='#{signon_user_to_sexp(signon_user)}'"
+ "--signon-user=#{signon_user_to_sexp(signon_user)}"
end
end
diff --git a/app/jobs/govuk_guix/job.rb b/app/jobs/govuk_guix/job.rb
index b79d380..2a028d6 100644
--- a/app/jobs/govuk_guix/job.rb
+++ b/app/jobs/govuk_guix/job.rb
@@ -50,8 +50,6 @@ class GovukGuix::Job < Que::Job
if value == true
"--#{transformed_key}"
- elsif value.include? ' '
- "--#{transformed_key}='#{value}'"
else
"--#{transformed_key}=#{value}"
end