Comparing version 0.0.47 to 0.0.48
@@ -105,9 +105,9 @@ #!/usr/bin/env node | ||
const msg = (m ?? k ?? []); | ||
if (!msg.length) { | ||
msg.push('uptick'); | ||
} | ||
msg.unshift('🦄'); | ||
if (!/^(feat|release|fix|style|docs|chore|test|refactor):$/.test(`${msg.at(0)}`)) { | ||
msg.unshift('chore:'); | ||
} | ||
if (msg.length === 1) { | ||
msg.push('uptick'); | ||
} | ||
msg.push('🦄'); | ||
await git.add(['.', '-A']); | ||
@@ -114,0 +114,0 @@ await git.commit(msg.join(' ')); |
{ | ||
"name": "gal", | ||
"version": "0.0.47", | ||
"version": "0.0.48", | ||
"description": "Git add, commit, and push in one line.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
6789