Direct errors from `git describe` to `/dev/null`

This commit is contained in:
Asbjørn Ulsberg 2017-11-13 22:29:33 +01:00
parent 5f3e5c2b3c
commit 48a48ff93a
No known key found for this signature in database
GPG Key ID: 34616339C3D5E883
1 changed files with 1 additions and 1 deletions

View File

@ -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);