1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +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:
Douglas 2024-12-17 17:09:14 -05:00 committed by GitHub
parent ba447f942c
commit 73e094fc08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -244,7 +244,7 @@ export def "update terminal" [] {
} }
def no-newline [] string->string { def no-newline []: string -> string {
$in | str replace -r '\n$' '' $in | str replace -r '\n$' ''
} }