Skip to content

Commit 6f1ede9

Browse files
committed
Read all of stdout.
1 parent af564af commit 6f1ede9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.rubocop_todo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2025-10-01 13:11:17 UTC using RuboCop version 1.81.1.
3+
# on 2025-10-01 13:23:05 UTC using RuboCop version 1.81.1.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
@@ -61,13 +61,13 @@ RSpec/LetSetup:
6161
- 'spec/api/endpoints/status_endpoint_spec.rb'
6262
- 'spec/api/endpoints/teams_endpoint_spec.rb'
6363

64-
# Offense count: 13
64+
# Offense count: 11
6565
# Configuration parameters: .
6666
# SupportedStyles: have_received, receive
6767
RSpec/MessageSpies:
6868
EnforcedStyle: receive
6969

70-
# Offense count: 28
70+
# Offense count: 26
7171
RSpec/MultipleExpectations:
7272
Max: 7
7373

slack-api-explorer/commands/slack.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def self.execute(client, args)
3131
client.owner.token,
3232
args
3333
].flatten) do |_, stdout, stderr, _|
34-
yield stdout.gets.try(:strip), stderr.gets.try(:strip)
34+
yield stdout.read.try(:strip), stderr.read.try(:strip)
3535
end
3636
end
3737
end

0 commit comments

Comments
 (0)