From 51daeb3229e488ce4a57d16bcfd77b6de896d03c Mon Sep 17 00:00:00 2001 From: Tsuyoshi Hombashi Date: Thu, 1 Jul 2021 20:10:51 +0900 Subject: [PATCH] Modify jsonnet-lint to accept multiple input files (#545) Modify jsonnet-lint to accept multiple input files --- cmd/jsonnet-lint/cmd.go | 46 ++++++++++++-------------- linter/linter.go | 73 ++++++++++++++++++++++++++--------------- linter/linter_test.go | 40 +++++++++++++++++++++- 3 files changed, 106 insertions(+), 53 deletions(-) diff --git a/cmd/jsonnet-lint/cmd.go b/cmd/jsonnet-lint/cmd.go index ea2313b4e..3c6cd426b 100644 --- a/cmd/jsonnet-lint/cmd.go +++ b/cmd/jsonnet-lint/cmd.go @@ -21,7 +21,7 @@ func version(o io.Writer) { func usage(o io.Writer) { version(o) fmt.Fprintln(o) - fmt.Fprintln(o, "jsonnet-lint {