diff options
author | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-05 18:57:59 -0500 |
---|---|---|
committer | Flu0r1ne <flur01ne@flu0r1ne.net> | 2021-09-05 18:57:59 -0500 |
commit | 91666d1f2e766bc7c3073ed4cd731637c6885e36 (patch) | |
tree | 77f08826098918355fbce5da2ea939eafbc24f6e /cmd/planr/sub/evaluate.go | |
parent | 465969af0d6a3e69e56de2048eb811e68d6f27a1 (diff) | |
download | deb-planr-91666d1f2e766bc7c3073ed4cd731637c6885e36.tar.xz deb-planr-91666d1f2e766bc7c3073ed4cd731637c6885e36.zip |
Do not throw fatal error when missing config, this behavior will be enabled in future releases
Diffstat (limited to 'cmd/planr/sub/evaluate.go')
-rw-r--r-- | cmd/planr/sub/evaluate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/planr/sub/evaluate.go b/cmd/planr/sub/evaluate.go index 21481a1..30d30d2 100644 --- a/cmd/planr/sub/evaluate.go +++ b/cmd/planr/sub/evaluate.go @@ -34,7 +34,7 @@ func jsonPrint(results gradingResults) { fmt.Println(string(res)) } -func Evaluate(runner planr.Runner, params []string, cfg planr.Config) { +func Evaluate(runner planr.Runner, params []string, cfg *planr.Config) { f := flag.NewFlagSet("evaluate", flag.ExitOnError) jsonOutput := f.Bool("json", false, "print json output") |