Skip to content

Commit

Permalink
flarum info: Try to fix STDERR redirection for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
franzliedke committed Sep 6, 2018
1 parent eb228dd commit 96045ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Foundation/Console/InfoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private function findPackageVersion($path, $fallback = null)

$output = [];
$status = null;
exec('git rev-parse HEAD 2> /dev/null', $output, $status);
exec('git rev-parse HEAD 2>&1', $output, $status);

chdir($cwd);

Expand Down

0 comments on commit 96045ca

Please sign in to comment.