diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-12 09:17:03 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-12 09:17:03 -0700 |
commit | 17cc02372c4e8c07014db140cfbadff18bf50146 (patch) | |
tree | 6dcd34ee4c1d2ab873fd650d248a1bdc69976fe3 /lib/chef/provider/cron.rb | |
parent | 5672d71c500c86bee3fe7e107933f5390f2c1ac9 (diff) | |
download | chef-17cc02372c4e8c07014db140cfbadff18bf50146.tar.gz |
Just use an empty stringrubocop_unfreezestring
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/provider/cron.rb')
-rw-r--r-- | lib/chef/provider/cron.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/provider/cron.rb b/lib/chef/provider/cron.rb index ee5f408c01..2e702d4376 100644 --- a/lib/chef/provider/cron.rb +++ b/lib/chef/provider/cron.rb @@ -95,8 +95,8 @@ class Chef end def action_create - crontab = +"" - newcron = +"" + crontab = "" + newcron = "" cron_found = false newcron = get_crontab_entry @@ -156,7 +156,7 @@ class Chef def action_delete if @cron_exists - crontab = +"" + crontab = "" cron_found = false read_crontab.each_line do |line| case line.chomp |