mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-17 01:10:36 +03:00
Rmove usage of deprecated str contains --not
(#880)
Related: https://github.com/nushell/nushell/issues/13163
This commit is contained in:
parent
9b08b15981
commit
92f20ff282
@ -55,7 +55,8 @@ export def repo-structured [] {
|
|||||||
$status
|
$status
|
||||||
| where ($it | str starts-with '# branch.head')
|
| where ($it | str starts-with '# branch.head')
|
||||||
| first
|
| first
|
||||||
| str contains --not '(detached)'
|
| str contains '(detached)'
|
||||||
|
| not $in
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user