Without this patch, failing to provide a subcommand to lit's internal
env results in either a python IndexError or an attempt to execute
the final env argument, such as FOO=1, as a command. This patch
diagnoses those cases with a more helpful message.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Replace ValueError with InternalShellError as just discussed in D65697. I'll wait a little while to push in case someone wants to comment on this.