Skip to content

Commit

Permalink
Install npm module: retire
Browse files Browse the repository at this point in the history
  • Loading branch information
cdo-defcon committed Apr 2, 2018
1 parent fa3e128 commit b790b94
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions atomshields/checkers/retirejs.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,14 @@ def install():

# Install retre with npm
cmd = CommandHelper()
cmd.command = "npm install retire"
cmd.command = "npm install -g retire"
cmd.execute()

print cmd.output
print colored(cmd.errors, "red")
if cmd.errors:
from termcolor import colored
print colored(cmd.errors, "red")
else:
print cmd.output



Expand Down

0 comments on commit b790b94

Please sign in to comment.