Skip to content
Snippets Groups Projects
  • Natalie Weizenbaum's avatar
    Fix error detection for a non-existent global script. · a1139b80
    Natalie Weizenbaum authored
    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 .
    a1139b80