fix GitHub user name extraction
@@ -29,8 +29,8 @@ __author__ = "rcmdnk"
__copyright__ = "Copyright (c) 2013 rcmdnk"
__credits__ = ["rcmdnk"]
__license__ = "MIT"
-__version__ = "v8.0.3"
-__date__ = "13/Sep/2020"
+__version__ = "v8.0.4"
+__date__ = "14/Sep/2020"
__maintainer__ = "rcmdnk"
__email__ = "rcmdnk@gmail.com"
__status__ = "Prototype"
@@ -1119,13 +1119,13 @@ class BrewFile:
except Exception:
user = self.proc(
"git config --get github.user", print_cmd=False,
- print_out=False, exit_on_err=True, separate_err=False)[1]
+ print_out=False, exit_on_err=False, separate_err=False)[1]
if user:
user = user[0]
else:
user = self.proc(
"git config --get user.name", print_cmd=False,
- print_out=False, exit_on_err=True, separate_err=False)[1]
+ print_out=False, exit_on_err=False, separate_err=False)[1]
if user:
user = user[0]
else:
