Skip to content

Commit

Permalink
Fix id in stdout router, bump to 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jules2689 committed May 15, 2018
1 parent af2b3a3 commit f720c05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cli/ui/stdout_router.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def with_id(on_streams:)
end

require 'securerandom'
id = format("%05d", rand(100))
id = format("%05d", rand(10**5))
Thread.current[:cliui_output_id] = {
id: id,
streams: on_streams
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/ui/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module CLI
module UI
VERSION = "1.1.2"
VERSION = "1.1.3"
end
end

0 comments on commit f720c05

Please sign in to comment.