mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-07-14 16:50:30 +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
|
||||
| where ($it | str starts-with '# branch.head')
|
||||
| first
|
||||
| str contains --not '(detached)'
|
||||
| str contains '(detached)'
|
||||
| not $in
|
||||
} else {
|
||||
false
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user