Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job.nu script no longer works #600

Open
JonathanReeve opened this issue Sep 11, 2023 · 2 comments
Open

Job.nu script no longer works #600

JonathanReeve opened this issue Sep 11, 2023 · 2 comments

Comments

@JonathanReeve
Copy link

JonathanReeve commented Sep 11, 2023

See this line, where the command spawn takes command: block as an argument, but according to the error, "blocks are not supported as values," and rather one should "use 'closure' instead of 'block.'" But changing that line to command: closure also fails, with "cannot convert closure to a string."

I'm on nu 0.84.0.

@fdncred
Copy link
Collaborator

fdncred commented Sep 11, 2023

@WindSoilder, are you still using pueue? If so, can you take a look at this?

@WindSoilder
Copy link
Contributor

WindSoilder commented Sep 12, 2023

Sure. Sorry that I've changed to command: closure locally, but forget to create a pr.

But changing that line to command: closure also fails, with "cannot convert closure to a string."

@JonathanReeve Would you please provide a small reproducable code? Change to command: closure works fine for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants