Skip to content

Commit

Permalink
#155 show more
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 19, 2024
1 parent 30afdf9 commit 718d089
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/judges/judge.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
# SOFTWARE.

require 'elapsed'
require 'tago'
require_relative '../judges'
require_relative '../judges/to_rel'

Expand Down Expand Up @@ -66,7 +67,7 @@ def run(fb, global, local, options)
end
s = File.join(@dir, script)
raise "Can't load '#{s}'" unless File.exist?(s)
elapsed(@loog, intro: "#{$judge} finished", level: Logger::INFO) do
elapsed(@loog, intro: "#{$judge} finished (#{@start.ago} already)", level: Logger::INFO) do
load(s, true)
ensure
$fb = $judge = $options = $loog = nil
Expand Down

0 comments on commit 718d089

Please sign in to comment.