提交 6a90d8ba 编写于 作者: F Fatih Acet

No need to log error on failed tracking branch query.

We will use fallback branch,
上级 4aeffacb
...@@ -38,7 +38,7 @@ async function fetchTrackingBranchName() { ...@@ -38,7 +38,7 @@ async function fetchTrackingBranchName() {
return ref.replace('refs/heads/', ''); return ref.replace('refs/heads/', '');
} }
} catch (e) { } catch (e) {
console.log('Failed to fetchTrackingBranchName', e); console.log(`Couldn't find tracking branch. Extension will fallback to branch name ${branchName}`);
} }
return branchName; return branchName;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册