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 357c8ca..5f95f4d 100644
--- a/app/jobs/govuk_guix/job.rb
+++ b/app/jobs/govuk_guix/job.rb
@@ -82,7 +82,7 @@ class GovukGuix::Job < Que::Job
def hash_to_arguments(hash)
hash.flat_map do |(key, value)|
- transformed_key = key.tr('_', '-')
+ transformed_key = key.to_s.tr('_', '-')
if value == true
["--#{transformed_key}"]