-
Notifications
You must be signed in to change notification settings - Fork 125
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
shell2batch stops translation When yarn
or npm
is encountered
#572
Comments
I used your makefile as is and created the following package.json {
"name": "my_package",
"version": "1.0.0",
"scripts": {
"build:release": "echo build release.... yay"
}
} yarn version: 1.22.10 [cargo-make] INFO - cargo make 0.35.0
[cargo-make] INFO - Project: cargo-make
[cargo-make] INFO - Build File: test.toml
[cargo-make] INFO - Task: js-build
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Running Task: js-build
yarn install v1.22.10
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.06s.
yarn run v1.22.10
$ echo build release.... yay
build release.... yay
Done in 0.05s.
[cargo-make] INFO - Build Done in 0.42 seconds. so i would first try to create a simple test case so i can reproduce the issue. |
Thanks for looking at this. That's super weird that it doesn't repro. I'll throw together a full repo for you to test. |
great thanks. that would really make things easier. |
Someone in my team is experience a strange problem when running a task which has We havent done a lot of investigation yet, but I recalled seeing this issue and wondered if it might be the same thing. I am wondering if it is similar to the problems of having Windows preinstall a "python.exe" which is a wrapper to install Python from App Store https://devblogs.microsoft.com/python/python-in-the-windows-10-may-2019-update/ , which causes all sorts of problems .c.f https://stackoverflow.com/questions/58754860/cmd-opens-windows-store-when-i-type-python . I found WSL also does something similar with |
i don't have windows available so its not something i can repo. |
Describe The Bug
When using shell2batch, once a single
yarn
ornpm
is encountered, translation stops.To Reproduce
Place the following in any cargo project's README.toml with
yarn
ornpm
available locally:The really weird thing is that when I put random applications (like
vulkaninfo
) in the script instead ofyarn install
ornpm install
, it works perfectly.Error Stack
I expect both commands to run, but only a single command runs.
The text was updated successfully, but these errors were encountered: