bruiken / Notepad--

Notepad--, a lightweight web based editor with numerous optional features.
MIT License
3 stars 0 forks source link

Change `;` to `&&` as `&&` for Code runner feature #26

Closed Justin-Reniers closed 3 years ago

Justin-Reniers commented 3 years ago

I think it's better to change ; to && as && means that the second command is only ran when the first command has succeeded. I guess we do not want to run the second command when the first has not succeeded.

edit: I now see powershell does not support && 😒. I think we have to first check if the first command succeeded and then do the second command?

_Originally posted by @jwijenbergh in https://github.com/bornobob/Notepad--/pull/22#discussion_r530934410_