mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-04-05 00:43:50 -04:00
Replaced deprecated RxJS operators
This commit is contained in:
@@ -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)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user