Skip to content

Commit

Permalink
Rmove usage of deprecated str contains --not (#880)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanManske committed Jun 16, 2024
1 parent 9b08b15 commit 92f20ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/prompt/panache-git.nu
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down

0 comments on commit 92f20ff

Please sign in to comment.