Completed
Push — master ( 0d6573...bd21d3 )
by Fumio
07:02
created
sources/Commands/TailCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
         $lines = $this->option('lines');
98 98
 
99
-        (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function ($type, $line) use ($output) {
99
+        (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function($type, $line) use ($output) {
100 100
             $output->write($line);
101 101
         });
102 102
     }
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         $lines = $this->option('lines');
160 160
 
161
-        $this->getRemote($connection)->run('tail -f -n '.$lines.' '.escapeshellarg($path), function ($line) use ($out) {
161
+        $this->getRemote($connection)->run('tail -f -n '.$lines.' '.escapeshellarg($path), function($line) use ($out) {
162 162
             $out->write($line);
163 163
         });
164 164
     }
Please login to merge, or discard this patch.