Replaced deprecated RxJS operators

This commit is contained in:
squidfunk
2022-04-02 18:36:59 +02:00
parent f4f9c21d32
commit 92dc0375dc
19 changed files with 68 additions and 71 deletions

View File

@@ -25,7 +25,7 @@ import * as path from "path"
import {
Observable,
from,
mapTo,
map,
mergeMap,
switchMap
} from "rxjs"
@@ -82,7 +82,7 @@ export function copy(
switchMap(data => write(options.to, data))
)
),
mapTo(options.to)
map(() => options.to)
)
}