about summary refs log tree commit homepage
path: root/lib/rainbows/revactor
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2018-05-18 06:27:05 +0000
committerEric Wong <e@80x24.org>2019-01-02 21:40:46 +0000
commit229286be544e76771d2a64637b3c692e51cbd878 (patch)
treea29be86e137e4619030fb19cdcaad1b60391c386 /lib/rainbows/revactor
parentde313da55531438b73c8cb54663ce0f8ab880465 (diff)
downloadrainbows-229286be544e76771d2a64637b3c692e51cbd878.tar.gz
Ruby trunk started warning about more mismatched indentations
starting around r62836.
Diffstat (limited to 'lib/rainbows/revactor')
-rw-r--r--lib/rainbows/revactor/client/methods.rb4
-rw-r--r--lib/rainbows/revactor/client/tee_socket.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/rainbows/revactor/client/methods.rb b/lib/rainbows/revactor/client/methods.rb
index 592c996..defb23a 100644
--- a/lib/rainbows/revactor/client/methods.rb
+++ b/lib/rainbows/revactor/client/methods.rb
@@ -26,8 +26,8 @@ module Rainbows::Revactor::Client::Methods
       else # nil
         return
       end while true
-      ensure
-        close_if_private(body)
+    ensure
+      close_if_private(body)
     end
   end
 
diff --git a/lib/rainbows/revactor/client/tee_socket.rb b/lib/rainbows/revactor/client/tee_socket.rb
index 2f9f52e..31b8dec 100644
--- a/lib/rainbows/revactor/client/tee_socket.rb
+++ b/lib/rainbows/revactor/client/tee_socket.rb
@@ -34,7 +34,7 @@ class Rainbows::Revactor::Client::TeeSocket
     # ugh, read returned too much
     @rbuf << tmp[length, tmp.size]
     dst.replace(tmp[0, length])
-    rescue EOFError
+  rescue EOFError
   end
 
   # just proxy any remaining methods TeeInput may use