fix(web)!: retain capture read cleanup through export
BREAKING CHANGE: WebScriptExportError accepts error context and residual paths in an options object.
This commit is contained in:
@@ -114,7 +114,7 @@ export const publishWebScripts = async (
|
||||
cause instanceof ArtifactReaderFailure ? cause.reason : "io",
|
||||
tree.outputRoot,
|
||||
diagnostic,
|
||||
[tree.outputRoot],
|
||||
{ residualPaths: [tree.outputRoot] },
|
||||
);
|
||||
if (tree.published && result !== undefined)
|
||||
error.retainPartialObservation({
|
||||
|
||||
Reference in New Issue
Block a user