Comparing version 0.0.48 to 0.0.49
@@ -105,9 +105,8 @@ #!/usr/bin/env node | ||
const msg = (m ?? k ?? []); | ||
if (!msg.length) { | ||
msg.push('uptick'); | ||
} | ||
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 +113,0 @@ await git.commit(msg.join(' ')); |
{ | ||
"name": "gal", | ||
"version": "0.0.48", | ||
"version": "0.0.49", | ||
"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
6754
125