pull/33510/head
Joao 2017-08-29 15:03:17 +02:00
parent d00f5c2047
commit d027af369f
1 changed files with 1 additions and 1 deletions

View File

@ -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]));