git-authors-cli
Advanced tools
Comparing version 1.0.43 to 1.0.44
@@ -65,2 +65,7 @@ #!/usr/bin/env node | ||
const processError = error => { | ||
console.log(colors.red(error.message || error)) | ||
process.exit(1) | ||
} | ||
const gitLogExtractor = /^\s*(\d*)\s*((.*)<(.*)>)$/gim | ||
@@ -92,3 +97,3 @@ const extractContributors = stdout => { | ||
const pkgPath = path.join(cwd, 'package.json') | ||
const cmd = `git shortlog -sne HEAD` | ||
const cmd = 'git shortlog -sne HEAD' | ||
const { stdout, stderr } = await execa.command(cmd, { | ||
@@ -95,0 +100,0 @@ cwd, |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/Kikobeats/git-authors-cli", | ||
"version": "1.0.43", | ||
"version": "1.0.44", | ||
"bin": { | ||
@@ -8,0 +8,0 @@ "git-authors": "bin/index.js", |
11991
162