File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ func (e *Executor) readTaskfile() error {
4444func (e * Executor ) readTaskfileData (path string ) (* taskfile.Taskfile , error ) {
4545 if b , err := ioutil .ReadFile (path + ".yml" ); err == nil {
4646 var taskfile taskfile.Taskfile
47- return & taskfile , yaml .UnmarshalStrict (b , & taskfile )
47+ return & taskfile , yaml .Unmarshal (b , & taskfile )
4848 }
4949 return nil , taskFileNotFound {path }
5050}
@@ -56,14 +56,14 @@ func (e *Executor) readTaskvars() error {
5656 )
5757
5858 if b , err := ioutil .ReadFile (file + ".yml" ); err == nil {
59- if err := yaml .UnmarshalStrict (b , & e .taskvars ); err != nil {
59+ if err := yaml .Unmarshal (b , & e .taskvars ); err != nil {
6060 return err
6161 }
6262 }
6363
6464 if b , err := ioutil .ReadFile (osSpecificFile + ".yml" ); err == nil {
6565 osTaskvars := make (taskfile.Vars , 10 )
66- if err := yaml .UnmarshalStrict (b , & osTaskvars ); err != nil {
66+ if err := yaml .Unmarshal (b , & osTaskvars ); err != nil {
6767 return err
6868 }
6969 for k , v := range osTaskvars {
You can’t perform that action at this time.
0 commit comments