You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/07/07 16:05:59 UTC

[whimsy] branch master updated: Eliminate unnecessary variable

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 c5b3fdf  Eliminate unnecessary variable
c5b3fdf is described below

commit c5b3fdff7f10f531aa2935225dc3e21e1ec63f99
Author: Sebb <se...@apache.org>
AuthorDate: Tue Jul 7 17:05:48 2020 +0100

    Eliminate unnecessary variable
---
 lib/whimsy/asf/watch.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/whimsy/asf/watch.rb b/lib/whimsy/asf/watch.rb
index c9ca771..c1d9e84 100644
--- a/lib/whimsy/asf/watch.rb
+++ b/lib/whimsy/asf/watch.rb
@@ -8,8 +8,7 @@ module ASF
     def self.member_watch_list
       return @member_watch_list if @member_watch_list
 
-      foundation = ASF::SVN['foundation']
-      text = File.read File.join(foundation, 'potential-member-watch-list.txt')
+      text = File.read File.join(ASF::SVN['foundation'], 'potential-member-watch-list.txt')
 
       nominations = text.scan(/^\s+\*\)\s+\w.*?\n\s*(?:---|\Z)/m)