mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-07-31 14:17:45 +00:00
Fix invalid type signature (#996)
Fixes the invalid type signature that is now caught by https://github.com/nushell/nushell/pull/14510
This commit is contained in:
parent
ba447f942c
commit
73e094fc08
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ export def "update terminal" [] {
|
|||
|
||||
}
|
||||
|
||||
def no-newline [] string->string {
|
||||
def no-newline []: string -> string {
|
||||
$in | str replace -r '\n$' ''
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue