Эх сурвалжийг харах

Still did not get it right

Matthias Pigulla 13 жил өмнө
parent
commit
8ab60b7030

+ 1 - 1
src/Composer/Repository/Vcs/HgDriver.php

@@ -180,7 +180,7 @@ class HgDriver implements VcsDriverInterface
             return false;
         }
 
-        exec(sprintf('hg identify %s', escapeshellarg($url)), null, $exit);
+        exec(sprintf('hg identify %s', escapeshellarg($url)), $ignored, $exit);
         return $exit == 0;
     }
 }

+ 1 - 1
src/Composer/Repository/Vcs/SvnDriver.php

@@ -178,7 +178,7 @@ class SvnDriver implements VcsDriverInterface
             return false;
         }
         
-        exec(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), null, $exit);
+        exec(sprintf('svn info --non-interactive %s 2>/dev/null', escapeshellarg($url)), $ignored, $exit);
         return $exit == 0;
     }
 }