mirror of
https://github.com/morluto/rea.git
synced 2026-10-30 03:15:54 +00:00
fix(targets): cancel resolution before provider admission
This commit is contained in:
1 parent
44c92f88c5
commit
f3c4a332f7
9 files changed
+244
-77
No files matched your search
@@ -29,7 +29,9 @@ export class AndroidAnalysisService {
|
||||
const request = androidRequestSchema.safeParse({ operation, input });
|
||||
if (!request.success)
|
||||
return err(new AnalysisInputError(operation, { cause: request.error }));
|
||||
const target = await parseBinaryTarget(request.data.input.path);
|
||||
const target = await parseBinaryTarget(request.data.input.path, {
|
||||
...(options?.signal === undefined ? {} : { signal: options.signal }),
|
||||
});
|
||||
if (!target.ok) return target;
|
||||
const executed = await this.provider.execute(
|
||||
target.value,
|
||||
|
||||
Reference in new issue
Block a user