public static void configureRegistry ( NodeManager node , Log log , String npmRegistryUrl ) { try { node . factory ( ) . getNpmRunner ( node . proxy ( ) ) . execute ( "config set registry " + npmRegistryUrl ) ; } catch ( TaskRunnerException e ) { log . error ( "Error during the configuration of NPM registry with the url " + npmRegistryUrl + " - check log" , e ) ; } }
Configures the NPM registry location .