Skip to content

Commit

Permalink
changed return type of inner method in getImplementations from Result…
Browse files Browse the repository at this point in the history
…<true, Error> to Result<undefined, Error>
  • Loading branch information
krisbitney committed Sep 29, 2022
1 parent 647b579 commit df20049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/js/core/src/algorithms/get-implementations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const getImplementations = Tracer.traceFunc(
const addAllImplementationsFromImplementationsArray = (
implementationsArray: readonly InterfaceImplementations<Uri>[],
wrapperInterfaceUri: Uri
): Result<true, Error> => {
): Result<undefined, Error> => {
for (const interfaceImplementations of implementationsArray) {
let fullyResolvedUri: Uri;
if (redirects) {
Expand All @@ -45,7 +45,7 @@ export const getImplementations = Tracer.traceFunc(
}
}
}
return ResultOk(true);
return ResultOk(undefined);
};

let finalUri = wrapperInterfaceUri;
Expand Down

0 comments on commit df20049

Please sign in to comment.