Direct errors from `git describe` to `/dev/null`
This commit is contained in:
parent
5f3e5c2b3c
commit
48a48ff93a
|
@ -30,7 +30,7 @@ $console = new Resume\Cli\Resume();
|
|||
|
||||
// Fetch the version
|
||||
chdir($baseDir);
|
||||
$versionCmd = 'git describe --abbrev=0 --tags';
|
||||
$versionCmd = 'git describe --abbrev=0 --tags 2>/dev/null';
|
||||
$version = trim(shell_exec($versionCmd));
|
||||
chdir($cwd);
|
||||
|
||||
|
|
Loading…
Reference in New Issue