update str find-replace to str replace (#5120)

This commit is contained in:
Darren Schroeder
2022-04-07 08:41:09 -05:00
committed by GitHub
parent 690ec9abfa
commit 4129f15eb9
10 changed files with 97 additions and 25 deletions

View File

@ -14,7 +14,7 @@ fn plugins_are_declared_with_wix() {
r#"
open Cargo.toml
| get bin.name
| str find-replace "nu_plugin_(extra|core)_(.*)" "nu_plugin_$2"
| str replace "nu_plugin_(extra|core)_(.*)" "nu_plugin_$2"
| drop
| sort-by
| wrap cargo | merge {