summaryrefslogtreecommitdiff
path: root/cli/js/streams/pipe-to.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/streams/pipe-to.ts')
-rw-r--r--cli/js/streams/pipe-to.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/streams/pipe-to.ts b/cli/js/streams/pipe-to.ts
index 01608b955..1d5579217 100644
--- a/cli/js/streams/pipe-to.ts
+++ b/cli/js/streams/pipe-to.ts
@@ -50,7 +50,7 @@
// abortAlgorithm = (): void => {
// // TODO this should be a DOMException,
// // https://github.com/stardazed/sd-streams/blob/master/packages/streams/src/pipe-to.ts#L38
-// const error = new Err.Aborted("Aborted");
+// const error = new errors.Aborted("Aborted");
// const actions: Array<() => Promise<void>> = [];
// if (preventAbort === false) {
// actions.push(() => {