lib/reap/projectinfo.rb in reap-4.5.0 vs lib/reap/projectinfo.rb in reap-4.5.1
- old
+ new
@@ -11,10 +11,10 @@
module Reap
def self.register #( alternative_project_file=nil )
pi = ProjectInfo.load( nil, true )
- pi.require_custom_tasks
+ pi.require_custom_tasks if pi
pi
end
def self.projectfile?
ProjectInfo.instance.info_file