File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1- version : ' 2 '
1+ version : ' 3 '
22
33includes :
44 docs : ./docs
Original file line number Diff line number Diff line change 1- version : ' 2 '
1+ version : ' 3 '
22
33tasks :
44 install :
Original file line number Diff line number Diff line change @@ -124,8 +124,13 @@ func (e *Executor) Setup() error {
124124 if v < 1 {
125125 return fmt .Errorf (`task: Taskfile version should be greater or equal to v1` )
126126 }
127- if v > 2.6 {
128- return fmt .Errorf (`task: Taskfile versions greater than v2.6 not implemented in the version of Task` )
127+ if v > 3.0 {
128+ return fmt .Errorf (`task: Taskfile versions greater than v3.0 not implemented in the version of Task` )
129+ }
130+
131+ // Color available only on v3
132+ if v < 3 {
133+ e .Logger .Color = false
129134 }
130135
131136 if v < 2 {
You can’t perform that action at this time.
0 commit comments