Skip to content

Commit da30b95

Browse files
author
R0n0066
committed
no-story (fix): Fix command commit
1 parent 66689fe commit da30b95

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/cmd-packr.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func commit(message string) (err error) {
120120

121121
hasStagingFiles := false
122122
for _, status := range s {
123-
if status.Staging != 32 && status.Worktree == 32 {
123+
if status.Staging != 32 && status.Staging != 63 {
124124
hasStagingFiles = true
125125
}
126126
}

package/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "go-cmf",
3-
"version": "1.0.16",
3+
"version": "1.0.18",
44
"description": "CMF is an utility to standarize commit messages on porjects",
55
"scripts": {
66
"postinstall": "go-npm install",

0 commit comments

Comments
 (0)