File: log-configs.js

package info (click to toggle)
node-yarnpkg 1.13.0-1%2Bdeb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 93,036 kB
  • sloc: sh: 323; makefile: 19
file content (8 lines) | stat: -rw-r--r-- 240 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
// As this file won't be transpiled, we use ES5 here.
var configs = {};
for (var key in process.env) {
  if (key.indexOf('npm_config_') === 0) {
    configs[key] = process.env[key];
  }
}
console.log('##' + JSON.stringify(configs) + '##');