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/10/06 12:58:08 UTC

[whimsy] branch master updated: Tidy

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 <se...@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