message: removed needless check
diff: @@ -37,11 +37,9 @@ export const resolveUri = async (
  uri: currentUri,
  wrapper,
  uriHistory: new UriResolutionHistory(uriResolutionStack),
  - error: infiniteLoopDetected
  - ? {
  + error: {
  type: ResolveUriErrorType.InfiniteLoop,
  - }
  - : undefined,
  + },
  };
  }
  