1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

fixed create doc for eval-all

This commit is contained in:
Mike Farah
2020-12-01 14:23:27 +11:00
parent cf4915d786
commit 773b1a3517
2 changed files with 23 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ func evaluateAll(cmd *cobra.Command, args []string) error {
}
case 1:
if nullInput {
err = allAtOnceEvaluator.EvaluateFiles(args[0], []string{}, printer)
err = yqlib.NewStreamEvaluator().EvaluateNew(args[0], printer)
} else {
err = allAtOnceEvaluator.EvaluateFiles("", []string{args[0]}, printer)
}