@mihairo/cmt 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cmt +1 -3
  2. package/package.json +1 -1
package/cmt CHANGED
@@ -559,9 +559,7 @@ cmd_commit() {
559
559
  git rev-parse --git-dir > /dev/null 2>&1 || die "Not inside a git repository"
560
560
  if git diff --cached --quiet 2>/dev/null; then
561
561
  warn "No staged changes detected. Did you forget \`git add\`?"
562
- printf "${DIM}Continue anyway? [y/N]:${RESET} " >/dev/tty
563
- read -r cont </dev/tty
564
- [[ "$cont" =~ ^[yY]$ ]] || exit 0
562
+ exit 0
565
563
  fi
566
564
  fi
567
565
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mihairo/cmt",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Zero-dependency conventional commits CLI — interactive picker, linter, and git hook installer. One bash script, works in any repo.",
5
5
  "keywords": [
6
6
  "conventional-commits",