Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dastrong-codiga committed Mar 27, 2023
1 parent 33d7a62 commit 3266d1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codiga/export_ruleset.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-r RULESET Name of the ruleset
-f FILE File to store the ruleset
Example:
$ codiga-save-ruleset -r "python-security" -f rules.json
$ codiga-expore-ruleset -r "python-security" -f rules.json
"""

import os
Expand All @@ -31,7 +31,7 @@
def element_checked_api_to_json(value):
if value is None:
return None
if value.lower() == "Any":
if value.lower() == "any":
return "ANY"
elif value.lower() == "assignment":
return "ASSIGNMENT"
Expand Down

0 comments on commit 3266d1c

Please sign in to comment.