mirror of
https://github.com/there4/markdown-resume.git
synced 2024-12-03 08:59:35 -05:00
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…
x
Reference in New Issue
Block a user