Skip to content

Commit

Permalink
Debug OS install
Browse files Browse the repository at this point in the history
  • Loading branch information
cdo-defcon committed Mar 28, 2018
1 parent 18eea3f commit 50873f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions atomshields/checkers/retirejs.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,9 @@ def install():
"""
Install all the dependences
"""
print "Install method: RetireJS"
cmd = CommandHelper()
cmd.install("npm")
cmd.install("retire")
print cmd.install("npm")
print cmd.install("retire")



Expand Down
1 change: 1 addition & 0 deletions atomshields/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ def install(self, software, uninstall = False):
try:
self.command = command
self.execute()
return self.output, self.errors
except OSError as e:
if 'Permission denied' in e:
raise Exception("Permission denied: Try to install the packages '{p}' manually".format(p=software))
Expand Down

0 comments on commit 50873f9

Please sign in to comment.