Skip to content

Commit

Permalink
enable colors for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
iakov-aws committed Mar 14, 2024
1 parent 91a2b75 commit f5d155b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cid/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def wrapper(ctx, **kwargs):
def main(ctx, **kwargs):

# enable color for windows terminal
if platform.system() == "Windows": #nosec B605,B607
os.system('color')
if platform.system() == "Windows":
os.system('color') #nosec B605,B607

Check failure

Code scanning / CodeGuru Reviewer Scanner

Outdated subprocess module API High

This line of code makes an outdated API call to start and communicate with processes. We recommend that you use the subprocess module to start new processes, connect with their pipes, and get their return codes.

Learn more

ctx.obj = Cid(**kwargs)

Expand Down

0 comments on commit f5d155b

Please sign in to comment.