lib/deploy-context/helpers/command.rb in deploy-context-2.1.35.3.g2abab85 vs lib/deploy-context/helpers/command.rb in deploy-context-2.1.35.3.g2abab85.16.g399fb24
- old
+ new
@@ -10,9 +10,13 @@
def debug_log(message)
log message if debug?
end
+ def error_log(name, message)
+ log "\n\n#{name} ERROR: #{message}"
+ end
+
def is_admin?
Process::Sys.getuid != 0
end
def temp_dir