Skip to content

Commit

Permalink
Fix: ignore git command error message to /dev/null
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroki Konishi committed Jun 27, 2019
1 parent 32da53b commit 91b8264
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/git_pmy_rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@
"cmdGroups": [
{
"tag": "🌱:branch",
"stmt": "git branch --format=\"%(refname:short)\"",
"stmt": "git branch --format=\"%(refname:short)\" 2>/dev/null",
"after": "awk '{print $0}'"
},
{
"tag": "🔖:tag",
"stmt": "git tag",
"stmt": "git tag 2>/dev/null",
"after": "awk '{print $0}'"
},
{
"tag": "🍺:commit",
"stmt": "git log --oneline -30 --color",
"stmt": "git log --oneline -30 --color 2>/dev/null",
"after": "awk '{print $1}'"
}
],
Expand Down

0 comments on commit 91b8264

Please sign in to comment.