diff options
author | Wild Kat <wk@users.noreply.github.com> | 2018-09-12 11:23:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 11:23:45 +0200 |
commit | 7c02a230dc970c2946770f6893e35c627b6b1ec0 (patch) | |
tree | d77395371f89aa8efe01d7fa8a194fb3bf9ed58c /lib/oxidized/core.rb | |
parent | 58c5310ae1406f1b6d7f1794d8574597c8698138 (diff) |
add a new line after guard clauses for better visual flow (#1520)
Diffstat (limited to 'lib/oxidized/core.rb')
-rw-r--r-- | lib/oxidized/core.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/core.rb b/lib/oxidized/core.rb index 440d8e2..62999fe 100644 --- a/lib/oxidized/core.rb +++ b/lib/oxidized/core.rb @@ -13,6 +13,7 @@ module Oxidized Oxidized.Hooks = HookManager.from_config(Oxidized.config) nodes = Nodes.new raise NoNodesFound, 'source returns no usable nodes' if nodes.size == 0 + @worker = Worker.new nodes trap('HUP') { nodes.load } if Oxidized.config.rest? |