@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.
- package/cmt +1 -3
- 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
|
-
|
|
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