fixes #33395
parent
d00f5c2047
commit
d027af369f
|
@ -1294,7 +1294,7 @@ export class CommandCenter {
|
|||
|
||||
result = repositoryPromise.then(repository => {
|
||||
if (!repository) {
|
||||
return Promise.reject(localize('modelnotfound', "Git model not found"));
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
return Promise.resolve(method.apply(this, [repository, ...args]));
|
||||
|
|
Loading…
Reference in New Issue