PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
lib
/
utils
const {getProxyForUrl} = require('proxy-from-env'); const NPM_REGISTRY = 'https://registry.npmjs.org/'; let proxyAgent = false; module.exports = function getProxyAgent() { // Initialize Proxy Agent for proxy support if needed const proxyAddress = getProxyForUrl(NPM_REGISTRY); if (proxyAddress && !proxyAgent) { const HttpsProxyAgent = require('https-proxy-agent'); proxyAgent = new HttpsProxyAgent(proxyAddress); } return proxyAgent; };
[-] needed-migrations.js
[edit]
[-] port-polling.js
[edit]
[+]
..
[-] local-process.js
[edit]
[-] get-proxy-agent.js
[edit]
[-] url.js
[edit]
[-] check-valid-install.js
[edit]
[-] use-ghost-user.js
[edit]
[-] config.js
[edit]
[-] yarn.js
[edit]
[-] dir-is-empty.js
[edit]
[-] pre-checks.js
[edit]
[-] find-extensions.js
[edit]
[-] check-root-user.js
[edit]
[-] version.js
[edit]