Skip to content

Commit

Permalink
Fix invalid type signature (#996)
Browse files Browse the repository at this point in the history
Fixes the invalid type signature that is now caught by
nushell/nushell#14510
  • Loading branch information
NotTheDr01ds authored Dec 17, 2024
1 parent ba447f9 commit 73e094f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/mod.nu
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export def "update terminal" [] {

}

def no-newline [] string->string {
def no-newline []: string -> string {
$in | str replace -r '\n$' ''
}

Expand Down

0 comments on commit 73e094f

Please sign in to comment.