4 ms·
If he'd tested it beforehand the comment might instead be "this destroyed my laptop". You have a responsibility to test before releasing to production, yes. Bu
by rad88 9y ago
If he'd tested it beforehand the comment might instead be "this destroyed my laptop".
You have a responsibility to test before releasing to production, yes. But the amount of fucked up your program has to be for `sudo ___ --help` to wreck the operating system, the unexpectedness of that result... IMO attention should be focused here on the irresponsibility of the npm team, not their users.
- mrguyorama 9y agoThe fact that --help can actually DO something makes me quite upset. That means npm is causing side effects even before reading what the user wants, or is blatantly ignoring the user's request
- Humdeee 9y agoThis may be the only time I'll see accessing --help docs result in borderline malware (it's debatable that this 'sudo commandeering' was intentional by design, but as shortsighted as it gets...)