Skip to content

Commit bb0e6e1

Browse files
committed
avoid breaking change for Heroku
1 parent 05fcc79 commit bb0e6e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/closure_tree/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Configuration # :nodoc:
33
attr_accessor :database_less
44

55
def initialize
6-
@database_less = false
6+
@database_less = ENV['DATABASE_URL'].to_s.include?('//user:[email protected]/')
77
end
88
end
99
end

0 commit comments

Comments
 (0)