This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9edb5de Dire.exists? is deprecated
9edb5de is described below
commit 9edb5deed5fec340a425a2b2f15cd3526637a2b3
Author: Sebb <[email protected]>
AuthorDate: Thu Sep 24 14:01:15 2020 +0100
Dire.exists? is deprecated
---
lib/whimsy/asf/config.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/config.rb b/lib/whimsy/asf/config.rb
index 02ce68b..885a12d 100644
--- a/lib/whimsy/asf/config.rb
+++ b/lib/whimsy/asf/config.rb
@@ -45,7 +45,7 @@ module ASF
if File.exist? "#@root/.whimsy"
@config.merge! YAML.load_file("#@root/.whimsy") || {}
- @root = '/srv' unless Dir.exists? "#@root/whimsy"
+ @root = '/srv' unless Dir.exist? "#@root/whimsy"
end
# capture root