Fixes "Attempt to call private method" error #37

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
@@ -22,7 +22,7 @@ def initialize(deployment)
@deployment = deployment
- if(@deployment.task && !@deployment.new_record?)
+ if(!@deployment[:task].nil? && !@deployment.new_record?)
# a read deployment
@logger = Webistrano::Logger.new(deployment)
@logger.level = Webistrano::Logger::TRACE