buildtools icon indicating copy to clipboard operation
buildtools copied to clipboard

Warn on uses of rctx.execute which discard the return value

Open alexeagle opened this issue 1 year ago • 0 comments

This is nearly always wrong, because the return value has a return_code property which should be checked to provide error messaging back to the user. Otherwise failures of subprocesses in repository rules are just ignored.

alexeagle avatar Aug 19 '22 23:08 alexeagle