lib/fulmar/domain/service/configuration_service.rb in fulmar-1.7.4 vs lib/fulmar/domain/service/configuration_service.rb in fulmar-1.7.5

- old
+ new

@@ -204,11 +204,13 @@ end end end def check_path(env, target) - return if @config[:environments][env][target][:local_path].blank? - @config[:environments][env][target][:local_path] = File.expand_path(@config[:environments][env][target][:local_path]) + path = @config[:environments][env][target][:local_path] + return if path.blank? + return if path[0,1] == '/' + @config[:environments][env][target][:local_path] = File.expand_path("#{base_path}/#{path}") end end end end end