Skip to content

Commit

Permalink
🐞fix: commitの引数が
Browse files Browse the repository at this point in the history
  • Loading branch information
utubo committed Oct 30, 2024
1 parent b7f2d9b commit 1464c68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vim/autoload/vimrc/git.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export def ConventionalCommits(a: any, l: string, p: number): list<string>
return ['✨feat:', '🐞fix:', '📝docs:', '🔨refactor:', '🎨style:', '⏪revert:', '✅test:', '🔧chore:', '🎉release:']
enddef
export def Commit(a: string)
ec system('git commit -m ' .. a)
ec system($"git commit -m '{a}'")
enddef
export def TagPush(a: string)
ec system($"git tag '{a}'")
Expand Down
2 changes: 1 addition & 1 deletion src/.vim/autoload/vimrc/git.src.vim
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export def ConventionalCommits(a: any, l: string, p: number): list<string>
enddef

export def Commit(args: string)
echo system('git commit -m ' .. args)
echo system($"git commit -m '{args}'")
enddef

export def TagPush(tagname: string)
Expand Down

0 comments on commit 1464c68

Please sign in to comment.