lib/hookit/resource/execute.rb in hookit-0.12.3 vs lib/hookit/resource/execute.rb in hookit-1.0.0

- old
+ new

@@ -2,11 +2,11 @@ require 'open3' module Hookit module Resource class Execute < Base - + field :command field :cwd field :environment field :user field :path @@ -140,11 +140,11 @@ if user com = su(user, com) end - com + com end # strategy: # 1- escape the escapes # 2- escape quotes @@ -180,6 +180,6 @@ raise Hookit::Error::UnexpectedExit, "'#{name}' exited with #{res}, expected #{returns}" unless ignore_exit end end end -end +end \ No newline at end of file