returnTPromise.wrapError(newError(localize('noCompatible',"Couldn't find a compatible version of {0} with this version of Code.",extension.displayName||extension.extensionName)));
returnTPromise.wrapError(newError(nls.localize('noCompatible',"Couldn't find a compatible version of {0} with this version of Code.",extension.displayName||extension.name)));
}
returnthis.isObsolete(id).then(isObsolete=>{
if(isObsolete){
returnTPromise.wrapError<void>(newError(nls.localize('restartCode',"Please restart Code before reinstalling {0}.",extension.displayName||extension.name)));