Skip to content
Snippets Groups Projects
Commit a1139b80 authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Fix error detection for a non-existent global script.

When we tried to run a global script that didn't exist, we would try to
load an AssetEnvironment, which would try to compute the transformers
for it. Because the script doesn't exist, the computation would
conservatively assume that all transformers had to run in case one of
them generated it.

To find all the scripts, it iterated through the package's dependencies.
Since it's notionally the entrypoint, it tried to include its dev
dependencies, but this broke because dev dependencies aren't installed
for globally-activated packages.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1413713010 .
parent 597233aa
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment