Skip to content

Commit 69e60f9

Browse files
jordanbreen28jordanbreen28
authored andcommitted
(CONT-794) - Correct Style/GlobalStdStream
1 parent 2d7f49d commit 69e60f9

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ RSpec/ExampleLength:
3333
RSpec/MultipleExpectations:
3434
Max: 9
3535

36-
# Offense count: 1
37-
# This cop supports unsafe autocorrection (--autocorrect-all).
38-
Style/GlobalStdStream:
39-
Exclude:
40-
- 'tasks/init.rb'
41-
4236
# Offense count: 1
4337
Style/MixinUsage:
4438
Exclude:

tasks/init.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def delete(setting, section, _value)
7272
{ status: stdout.strip, setting: setting, section: section }
7373
end
7474

75-
params = JSON.parse(STDIN.read)
75+
params = JSON.parse($stdin.read)
7676
action = params['action']
7777
setting = params['setting']
7878
section = params['section']

0 commit comments

Comments
 (0)