Skip to content

Commit f720c05

Browse files
committed
Fix id in stdout router, bump to 1.1.3
1 parent af2b3a3 commit f720c05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cli/ui/stdout_router.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def with_id(on_streams:)
156156
end
157157

158158
require 'securerandom'
159-
id = format("%05d", rand(100))
159+
id = format("%05d", rand(10**5))
160160
Thread.current[:cliui_output_id] = {
161161
id: id,
162162
streams: on_streams

lib/cli/ui/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module CLI
22
module UI
3-
VERSION = "1.1.2"
3+
VERSION = "1.1.3"
44
end
55
end

0 commit comments

Comments
 (0)