mirror of
https://github.com/daveberrys/guh.git
synced 2026-11-29 00:46:45 +08:00
wrong code placement
This commit is contained in:
1 parent
f2508d0bc8
commit
789190955c
1 file changed
+1
-1
+1
-1
@@ -14,8 +14,8 @@ var commitCmd = &cobra.Command{
|
||||
Short: "Add current changes and commit",
|
||||
Args: cobra.ExactArgs(1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
utils.RunGitSequence([]string{"commit", "-m", args[0]})
|
||||
utils.RunGitSequence([]string{"add", "."})
|
||||
utils.RunGitSequence([]string{"commit", "-m", args[0]})
|
||||
return nil
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user