On Wed, 9 Jan 2019 at 18:24, <[email protected]> wrote:

> +       if [ -n "${NPM_PROXY}" ]; then
> +               npm config set proxy ${NPM_PROXY}
> +               npm config set https-proxy ${NPM_PROXY}
> +       else
> +               npm config set proxy null
> +               npm config set https-proxy null
> +       fi

Isn't it better to set those from http[s]_proxy environment variables
which are standard?

Alex
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to