Skip to content

Commit

Permalink
fixed more rubocop complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatRasputin committed Dec 17, 2024
1 parent 5128884 commit c01d4e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sorter.lic
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ class Sorter
def cleanup_hook
DownstreamHook.remove('sorter')
end

end

use_table = script.vars.include?('table')
Expand All @@ -127,7 +126,7 @@ sorter_instance = Sorter.new(use_table)
begin
# Keep the script running in the background to monitor incoming lines.
while true; sleep(0.1); end

ensure
sorter_instance.cleanup_hook # Clean up when the script exits.
end

0 comments on commit c01d4e1

Please sign in to comment.