Commit eaa1267
committed
Suppress innocuous error message from tag determination
The taskfile uses a Git command to get the current tag name. When there is no tag, it produces an error message every time a task is run:
fatal: No tags can describe 'a58dfe994fdd94aa98ccc98b327d49f347384c2f'.
Try --always, or create some tags.
This error message is expected and doesn't impact the functionality of the taskfile, but it might cause confusion. The
solution is to redirect the stderr from the command to /dev/null, which won't affect the functionality since the tag
name is output on stdout.1 parent aa137d4 commit eaa1267
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments