Fix regression related to git.scanRepositories

This commit is contained in:
Ladislau Szomoru
2021-12-01 09:20:41 +01:00
parent 0cc0904c56
commit d6f24e10d5

View File

@@ -151,7 +151,7 @@ export class Model implements IRemoteSourcePublisherRegistry, IPushErrorHandlerR
const scanPaths = (workspace.isTrusted ? workspace.getConfiguration('git', folder.uri) : config).get<string[]>('scanRepositories') || [];
for (const scanPath of scanPaths) {
if (scanPath !== '.git') {
if (scanPath === '.git') {
continue;
}