We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f769b05 commit 460542aCopy full SHA for 460542a
1 file changed
src/extension.ts
@@ -15,10 +15,9 @@ function _validateFoundRepos(git: API) {
15
16
if (!git) {
17
msg = "Unable to load Git Extension";
18
- }
19
- if (git.repositories.length === 0) {
+ } else if (git.repositories.length === 0) {
20
msg =
21
- "No repos found. Please open a repo or run `git init` then try this extension again.";
+ "No repos found. Please open a repo or run `git init` then try again.";
22
}
23
24
if (msg) {
0 commit comments