From 3282b485b9e025e3cf247146caab368a1f4e9d0c Mon Sep 17 00:00:00 2001 From: Federico Lorenzi Date: Wed, 13 Jul 2022 23:40:31 +0200 Subject: [PATCH] No need to output raw value when validating the policy file --- safety/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/safety/cli.py b/safety/cli.py index e9a95ece..af8b9032 100644 --- a/safety/cli.py +++ b/safety/cli.py @@ -359,6 +359,8 @@ def validate(ctx, name, path): click.secho(str(e).lstrip(), fg='red', file=sys.stderr) sys.exit(EXIT_CODE_FAILURE) + del values['raw'] + click.secho(f'The Safety policy file was successfully parsed with the following values:', fg='green') click.secho(json.dumps(values, indent=4, default=str))