mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
don't return anything from toolkit
command (#992)
i get the following LSP error in my editor, because it's true `main` does not return a `string` 🤔  in this PR, i propose to truely return `nothing` from this _main_ command by `print`ing the help page. ### alternative we could also change the signature to `nothing -> string`
This commit is contained in:
parent
b5385a2af0
commit
cc62dd7f0f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export def "check pr" [
|
||||||
}
|
}
|
||||||
|
|
||||||
# View subcommands.
|
# View subcommands.
|
||||||
export def main []: nothing -> nothing {
|
export def main []: nothing -> string {
|
||||||
help toolkit
|
help toolkit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue