whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Tidy
Date Tue, 06 Oct 2020 12:58:08 GMT
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 b094a86  Tidy
b094a86 is described below

commit b094a86c79fa1496ae4da76c2cc4d82c51b04cb7
Author: Sebb <sebb@apache.org>
AuthorDate: Tue Oct 6 13:57:55 2020 +0100

    Tidy
---
 www/board/agenda/main.rb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/www/board/agenda/main.rb b/www/board/agenda/main.rb
index c674d58..94502f8 100755
--- a/www/board/agenda/main.rb
+++ b/www/board/agenda/main.rb
@@ -17,7 +17,6 @@ require 'ruby2js/filter/require'
 
 require 'listen'
 require 'yaml'
-require 'thread'
 require 'net/http'
 require 'shellwords'
 require 'mail'
@@ -44,7 +43,7 @@ else
   # STDERR.puts "* Agenda work: #{AGENDA_WORK}"
 end
 
-FileUtils.mkdir_p AGENDA_WORK if not Dir.exist? AGENDA_WORK
+FileUtils.mkdir_p AGENDA_WORK unless Dir.exist? AGENDA_WORK
 
 require_relative './routes'
 require_relative './models/pending'
@@ -60,7 +59,7 @@ require_relative './daemon/events'
 require 'websocket-client-simple'
 
 # if AGENDA_WORK doesn't exist yet, make it
-if not Dir.exist? AGENDA_WORK
+unless Dir.exist? AGENDA_WORK
   require 'fileutils'
   FileUtils.mkdir_p AGENDA_WORK
 end


Mime
View raw message