• Wez Furlong's avatar
    getdeps: fix node/yarn detection for watchman builds · 8e0ca467
    Wez Furlong authored
    Summary:
    When we detect that we are building out of the fbsource
    monorepo internal to FB, pre-set some environment variables to help
    projects detect our internally pinned versions of node and yarn.
    
    Previously, the detection logic was deciding that the `yarn` shell
    script was the executable to invoke, but since that is a bash script
    it would fail to spawn.
    
    Reviewed By: simpkins
    
    Differential Revision: D18523871
    
    fbshipit-source-id: b932d2b0ccd7b79d6f9cd74d363bc426c288e38f
    8e0ca467
buildopts.py 13.3 KB