Skip to content

Commit c444135

Browse files
committed
Ignore stderr from git version check
Issue #362
1 parent 2545b7e commit c444135

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

InteractiveHtmlBom/version.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ def _get_git_version():
1111
try:
1212
git_version = subprocess.check_output(
1313
['git', 'describe', '--tags', '--abbrev=4', '--dirty=-*'],
14+
stderr=subprocess.DEVNULL,
1415
cwd=plugin_path)
1516
if isinstance(git_version, bytes):
1617
return git_version.decode('utf-8').rstrip()

0 commit comments

Comments
 (0)