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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user