graceful-git
Advanced tools
Comparing version 3.1.0 to 3.1.1
'use strict' | ||
const which = require('@zkochan/which'); | ||
const execa = require('execa') | ||
const execa = require('safe-execa').default | ||
const retry = require('retry') | ||
let gitLocation | ||
const RETRY_OPTIONS = { | ||
@@ -36,4 +33,3 @@ retries: 3, | ||
opts = opts || {} | ||
gitLocation = gitLocation || await which('git') | ||
return execa(gitLocation, args, {cwd: opts.cwd || process.cwd()}) | ||
return execa('git', args, {cwd: opts.cwd || process.cwd()}) | ||
} |
{ | ||
"name": "graceful-git", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Executes git commands gracefully. Retries them on errors", | ||
@@ -12,6 +12,2 @@ "main": "index.js", | ||
}, | ||
"scripts": { | ||
"test": "preview && tape test.js", | ||
"md": "preview && mos" | ||
}, | ||
"mos": { | ||
@@ -39,5 +35,4 @@ "plugins": [ | ||
"dependencies": { | ||
"@zkochan/which": "^2.0.3", | ||
"execa": "^5.0.0", | ||
"retry": "^0.12.0" | ||
"retry": "^0.12.0", | ||
"safe-execa": "^0.0.1" | ||
}, | ||
@@ -49,3 +44,7 @@ "devDependencies": { | ||
"tape": "^5.1.1" | ||
}, | ||
"scripts": { | ||
"test": "preview && tape test.js", | ||
"md": "preview && mos" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
4139
30
+ Addedsafe-execa@^0.0.1
+ Addedpath-name@1.0.0(transitive)
+ Addedsafe-execa@0.0.1(transitive)
- Removed@zkochan/which@^2.0.3
- Removedexeca@^5.0.0