Nate Fischer
Nate Fischer
I ran into this same issue today. I sent PR #108 to hopefully fix this properly, which guards with `exists()` expressions based on how vim's builtin json plugin works: https://github.com/vim/vim/blob/5f1b115afd92544ce64d563da0d8ee9844abb10a/runtime/syntax/json.vim#L34...
I understand that this package is a transitive dependency, but do you know if the `inflight` vulnerability actually be exploited in `glob`? Snyk has a bad habit of flagging any...
https://github.com/shelljs/shelljs/issues/828 might be a possible path forward. I originally filed that ticket because fast-glob seemed to have nice perf wins, but switching to that would also mean we can avoid...
I think the switch to fast-glob was more straightforward than expected. I wrote up https://github.com/shelljs/shelljs/pull/1153 to do this. Unfortunately we currently expose `globOptions` as part of our public API. I...
Seems like a reasonable feature request. We could do the same for `shell.mv()` and `shell.rm()` too. It looks like we already have something like this for `shell.chmod()`, where the behavior...
Sorry, I think I was unclear. You're correct that `console.log()` prints to the "real" stdout. What I was talking about in my last comment is the `ShellString` return type, which...
What is the command you're trying to run?
What is pm2? Can you link to that project? If pm2 kill needs an argument, then please share exactly what command you're running. Preferably, I'd like to see this as...
I assume `pm2 kill` kills the pm2 daemon, so I assume I need to run some other command first in order to start it. The README says to run `pm2...
I agree, this should ideally return an error. Some comments about this: 1. `mv test-file.txt does-not-exist/` should throw an error because `does-not-exist/` must be interpreted as a folder (due to...