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

run supports "shell" option #19

Closed
shaddollxz opened this issue Mar 21, 2023 · 2 comments
Closed

run supports "shell" option #19

shaddollxz opened this issue Mar 21, 2023 · 2 comments

Comments

@shaddollxz
Copy link

wrong: while use a script whth "*" in after task ,got an error ,it is becase options.shell of cross-spawn is false by default

expect: run support a "shell" option like cross-spawn

export default async function ({ run }) {
    await run("chmod", ["+x", ".husky/*"]); // chmod: .husky/*: No such file or directory
}
@3cp 3cp closed this as completed in 33fc826 Mar 21, 2023
@3cp
Copy link
Member

3cp commented Mar 21, 2023

Thank you!

@3cp
Copy link
Member

3cp commented Mar 21, 2023

Shipped in v3.1.5.

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

2 participants