diff options
| author | Dave Henderson <dhenderson@gmail.com> | 2019-05-02 22:25:54 -0700 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2019-05-02 22:28:30 -0700 |
| commit | 2be2c1168085e0234a0cf06dab93b6d763bf3f7d (patch) | |
| tree | 8debeb071f9f246785817c97480edceaba1f4cd5 /cmd | |
| parent | b65e14e1fda1c005a07ec9b98e746ce3d699521a (diff) | |
Linting more (and fixing more)
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/gomplate/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gomplate/main.go b/cmd/gomplate/main.go index e2d77da0..aa6692a3 100644 --- a/cmd/gomplate/main.go +++ b/cmd/gomplate/main.go @@ -30,7 +30,7 @@ func validateOpts(cmd *cobra.Command, args []string) error { } if len(opts.InputFiles) != len(opts.OutputFiles) { - return fmt.Errorf("Must provide same number of --out (%d) as --file (%d) options", len(opts.OutputFiles), len(opts.InputFiles)) + return fmt.Errorf("must provide same number of --out (%d) as --file (%d) options", len(opts.OutputFiles), len(opts.InputFiles)) } if cmd.Flag("input-dir").Changed && (cmd.Flag("in").Changed || cmd.Flag("file").Changed) { |
