1
0
mirror of https://github.com/go-task/task.git synced 2025-01-26 05:27:15 +02:00

cleanp taskfile reader

This commit is contained in:
jaedle 2019-08-24 06:27:56 +02:00
parent b8094fd771
commit 93005512b4

View File

@ -13,11 +13,6 @@ type Taskfile struct {
// UnmarshalYAML implements yaml.Unmarshaler interface
func (tf *Taskfile) UnmarshalYAML(unmarshal func(interface{}) error) error {
if err := unmarshal(&tf.Tasks); err == nil {
tf.Version = "1"
return nil
}
var taskfile struct {
Version string
Expansions int