Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
printEnvVariablesToFile.py overwrites itself if invoked without argum…
…ents (microsoft#24487) I saw the command in my terminal when launching the editor, was curious to see what it did, so I ran it again without arguments, expecting to get a `--help`-like message, instead it ended up overwriting itself. This change changes the script's default behavior (default being the invocation without arguments) from overwriting itself to throwing an exception about a missing output file argument.
- Loading branch information