Skip to content

Commit

Permalink
Remove implementation of yml.v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Karl Hepworth authored and Karl Hepworth committed Aug 31, 2017
1 parent a77262e commit 5c154c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions make/make_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package make

import (
"bytes"
"github.com/ghodss/yaml"
//"github.com/ghodss/yaml"
"io/ioutil"
"os/exec"
"reflect"
Expand Down Expand Up @@ -86,7 +86,6 @@ func (Make *Make) parseINF() ([]string, error) {
Line = strings.Replace(Line, "\"", " ", -1)
Line = strings.Replace(Line, " ", " ", -1)
Line = strings.Replace(Line, " ", " ", -1)
Line = strings.Replace(Line, " ", " ", -1)
}
}

Expand All @@ -109,6 +108,7 @@ func (Make *Make) ParseYML() ([]byte, error) {
if err != nil {
panic(err)
}
parse_data, parse_error := yaml.YAMLToJSON(data)
return parse_data, parse_error
return data, err
//parse_data, parse_error := yaml.YAMLToJSON(data)
//return parse_data, parse_error
}

0 comments on commit 5c154c3

Please sign in to comment.