1
0
mirror of https://github.com/mikefarah/yq.git synced 2025-04-02 12:45:36 +00:00

Fix pretty-printing

Fixes  
This commit is contained in:
Ben Moss 2021-02-09 10:45:17 -05:00 committed by Mike Farah
parent 64c618c041
commit 26742b2597

View File

@ -102,7 +102,7 @@ func evaluateSequence(cmd *cobra.Command, args []string) error {
err = streamEvaluator.EvaluateFiles(processExpression(""), []string{args[0]}, printer)
}
default:
err = streamEvaluator.EvaluateFiles(args[0], args[1:], printer)
err = streamEvaluator.EvaluateFiles(processExpression(args[0]), args[1:], printer)
}
completedSuccessfully = err == nil