FRE-709: Document duplicate recovery wake - FRE-635 already recovered via FRE-708
This commit is contained in:
28
node_modules/chromium/config.js
generated
vendored
Normal file
28
node_modules/chromium/config.js
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
'use strict';
|
||||
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
/**
|
||||
* The default CDN URL, used if not overridden by user
|
||||
*/
|
||||
CDN_URL: 'https://www.googleapis.com/download/storage/v1/b/chromium-browser-snapshots/o/',
|
||||
/**
|
||||
* The default filesystem path where chromium will be installed.
|
||||
*/
|
||||
BIN_OUT_PATH: path.join(__dirname, 'lib', 'chromium'),
|
||||
/**
|
||||
* Gets a configuration parameter from the environment.
|
||||
* Will first check for a lowercase variant set via npm config in the format: `npm_config_${name.toLowerCase()}`.
|
||||
* If not set then will check the environment for the variable, as provided.
|
||||
* @param {string} name The name of the environment variable, case sensitive, conventionally uppercase.
|
||||
* @returns {string} The value of the environment variable.
|
||||
*/
|
||||
getEnvVar: name => {
|
||||
if (!name) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return process.env[`npm_config_${name.toLowerCase()}`] || process.env[name] || '';
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user