rainbow-me / rainbow

🌈‒ the Ethereum wallet that lives in your pocket
https://rainbow.me
GNU General Public License v3.0
3.96k stars 628 forks source link

Update tasks.json #6274

Closed savvar9991 closed 6 days ago

savvar9991 commented 1 week ago

I wrapped the ${workspaceFolder} and ${HOME} variables in quotes. This helps to avoid issues if there are spaces in the paths (e.g., C:/Users/John Doe/). The presentation and group settings were duplicated in all tasks. You could refactor this into a reusable block for better maintainability, but in this example, I kept them in each task for clarity. I changed the rm -rf ~/.gradle/caches and rm -rf ~/.gradle commands to use "${HOME}" instead of ~. Using ${HOME} is safer and more portable in shell scripts, and it ensures that the command will work on all systems (even if ~ is not properly expanded). I added quotes to paths with potential spaces or special characters (e.g., cd "${workspaceFolder}/android"). This ensures that the shell command works even if the folder path contains spaces or other special characters.

brunobar79 commented 6 days ago

Thanks for the contribution but the current VSCODE config works fine for us at this moment.