mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
Removed debug printLn
This commit is contained in:
parent
c03c4813d4
commit
8409be1cdf
3
yaml.go
3
yaml.go
@ -117,8 +117,7 @@ func readYaml(c *cli.Context, parsedData *map[interface{}]interface{}) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var rawData []byte
|
var rawData []byte
|
||||||
fmt.Println("c.Args()[0]", c.Args()[0])
|
if c.Args()[0] == "-" {
|
||||||
if( c.Args()[0] == "-") {
|
|
||||||
rawData = readStdin()
|
rawData = readStdin()
|
||||||
} else {
|
} else {
|
||||||
rawData = readFile(c.Args()[0])
|
rawData = readFile(c.Args()[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user