Skip to content

Commit

Permalink
No need to output raw value when validating the policy file
Browse files Browse the repository at this point in the history
  • Loading branch information
cb22 committed Jul 13, 2022
1 parent 2bb58b2 commit 3282b48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions safety/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 3282b48

Please sign in to comment.