This is an automated email from the ASF dual-hosted git repository.

rubys 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 adeb9e8  possible quick fix for false root
adeb9e8 is described below

commit adeb9e8b0ccc10aa74d269347e297388f71b634a
Author: Sam Ruby <[email protected]>
AuthorDate: Sun Nov 24 15:05:16 2019 -0500

    possible quick fix for false root
    
    
https://lists.apache.org/thread.html/a15d2950d943093e640d6d78065c0e598c13b0b1488b21eed538fc54@%3Cdev.whimsical.apache.org%3E
---
 lib/whimsy/asf/config.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/whimsy/asf/config.rb b/lib/whimsy/asf/config.rb
index 5e89d63..1508342 100644
--- a/lib/whimsy/asf/config.rb
+++ b/lib/whimsy/asf/config.rb
@@ -41,6 +41,7 @@ module ASF
 
     if File.exist? "#@root/.whimsy"
       @config.merge! YAML.load_file("#@root/.whimsy") || {}
+      @root = '/srv' unless Dir.exists? "#@root/whimsy"
     end
 
     # capture root

Reply via email to