Sha256: 5095313e19a35743109f3dc7a801bbacfa61dc88d791292216b651ac11309177

Contents?: true

Size: 371 Bytes

Versions: 33

Compression:

Stored size: 371 Bytes

Contents

// 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 },
})

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.59 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.58 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.57 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.56 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.55 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.54 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.53 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.52 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.51 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.50 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.49 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.48 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.47 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.46 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.45 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.44 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.43 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.42 node_modules/@npmcli/git/lib/opts.js
immosquare-cleaner-0.1.41 node_modules/@npmcli/git/lib/opts.js