✏️ 正在编辑: opts.js
路径:
/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/git/lib/opts.js
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
// Values we want to set if they're not already defined by the end user // This defaults to accepting new ssh host key fingerprints const gitEnv = { GIT_ASKPASS: 'echo', GIT_SSH_COMMAND: 'ssh -oStrictHostKeyChecking=accept-new', } module.exports = (opts = {}) => ({ stdioString: true, ...opts, shell: false, env: opts.env || { ...gitEnv, ...process.env }, })
💾 保存文件
← 返回文件管理器