Skip to content
Snippets Groups Projects
Commit c1663f0b authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(git): catch fatal bad config

parent 5c092ef1
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,7 @@ function checkForPlatformFailure(err: Error): void { ...@@ -74,6 +74,7 @@ function checkForPlatformFailure(err: Error): void {
'Could not resolve host', 'Could not resolve host',
' is not a member of team', ' is not a member of team',
'early EOF', 'early EOF',
'fatal: bad config', // .gitmodules problem
]; ];
for (const errorStr of externalHostFailureStrings) { for (const errorStr of externalHostFailureStrings) {
if (err.message.includes(errorStr)) { if (err.message.includes(errorStr)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment