summaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-30 15:54:48 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-30 15:54:48 -0700
commitd1da1e4d344f4ac8e2a75a3a86cb3741f6e71fcf (patch)
tree2f916a1a7d7349bd80ebd1e467cb2dc567df086f /tasks
parente5ecdfd02cf2a21ef49a16a3551250ad05e922d4 (diff)
downloadohai-d1da1e4d344f4ac8e2a75a3a86cb3741f6e71fcf.tar.gz
Freeze the strings we're not later modifying
There's a few plugins that this couldn't be enabled on due to how we build strings, but for the most part this is an easy one to turn on and it shaves 1k from the runtime memory! Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks')
-rw-r--r--tasks/spellcheck.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks/spellcheck.rb b/tasks/spellcheck.rb
index 076173fa..ee994283 100644
--- a/tasks/spellcheck.rb
+++ b/tasks/spellcheck.rb
@@ -1,3 +1,4 @@
+# frozen_string_literal: true
#
# Copyright:: Copyright (c) Chef Software Inc.
# License:: Apache License, Version 2.0