Skip to content

Commit 037018a

Browse files
committed
chore(commands): resolve deprecation warning
1 parent 54e4197 commit 037018a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/watch.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ module Geode::Commands
3131
fatal "Missing 'main' field for target: #{name}" unless target.has_key? "main"
3232

3333
begin
34-
interval = options.get("interval").to_f64
34+
interval = options.get("interval").to_f64.seconds
3535
rescue
3636
fatal "Could not parse interval (must be a number)"
3737
end

0 commit comments

Comments
 (0)