diff options
author | Akira Matsuda <ronnie@dio.jp> | 2017-05-19 22:06:11 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 22:06:11 +0900 |
commit | b769e83a882fba69d818f6ddafca87016199d5d8 (patch) | |
tree | cf06d4761c7169f02d07c060f525c3b085c4ce2e | |
parent | aa8749eb52d7919a438940c9218cad98d892f9ad (diff) | |
parent | 89e097fa46687706b0095db228bfe9d92de7e0ce (diff) | |
download | rails-b769e83a882fba69d818f6ddafca87016199d5d8.tar.gz rails-b769e83a882fba69d818f6ddafca87016199d5d8.tar.bz2 rails-b769e83a882fba69d818f6ddafca87016199d5d8.zip |
Merge pull request #29057 from koic/suppress_warning_assigned_but_unused_variable
Suppress `warning: assigned but unused variable - stdout`
-rw-r--r-- | actioncable/Rakefile | 2 | ||||
-rw-r--r-- | actionview/Rakefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actioncable/Rakefile b/actioncable/Rakefile index bda8c7b6c8..0ee1a859e5 100644 --- a/actioncable/Rakefile +++ b/actioncable/Rakefile @@ -65,7 +65,7 @@ namespace :assets do end print "[verify] #{dir} can be required as a module " - stdout, stderr, status = Open3.capture3("node", "--print", "window = {}; require('#{dir}');") + _, stderr, status = Open3.capture3("node", "--print", "window = {}; require('#{dir}');") if status.success? puts "[OK]" else diff --git a/actionview/Rakefile b/actionview/Rakefile index de588ad25c..4f22ef84c8 100644 --- a/actionview/Rakefile +++ b/actionview/Rakefile @@ -119,7 +119,7 @@ namespace :assets do class Element {} require('#{dir}') JS - stdout, stderr, status = Open3.capture3("node", "--print", js) + _, stderr, status = Open3.capture3("node", "--print", js) if status.success? puts "[OK]" else |