mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
Fix input-output signatures (#999)
Since 0.101.0 we will finally catch more illegal `def` signatures. As the grammar for input/output types is rather restricted, this would error otherwise
This commit is contained in:
parent
be6411ef4a
commit
ba13f5ca60
10 changed files with 15 additions and 15 deletions
|
@ -19,7 +19,7 @@ export def spawn [
|
|||
--after (-a): int # Start the task once all specified tasks have successfully finished. As soon as one of the dependencies fails, this task will fail as well.
|
||||
--priority (-o): string # Start this task with a higher priority. The higher the number, the faster it will be processed.
|
||||
--label (-l): string # Label the task. This string will be shown in the `status` column of `task status`.
|
||||
] -> int {
|
||||
]: nothing -> int {
|
||||
mut args = []
|
||||
|
||||
if $working_directory != null {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue