rules_js icon indicating copy to clipboard operation
rules_js copied to clipboard

Better error messaging when using execpath and other make expansions

Open alexeagle opened this issue 2 years ago • 0 comments

https://github.com/aspect-build/rules_js/pull/108 is an example of user error which is understandable, since rules_js sets the working directory differently from typical Bazel actions. We could:

  • detect use of $(execpath) etc. without ../ and warn ahead-of-time
  • same but only print after the action fails?
  • provide different expansion helpers?
  • modify behavior of them?

alexeagle avatar May 23 '22 15:05 alexeagle