Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusuf Zainee committed Nov 22, 2018
1 parent 3ff156c commit cb7a7cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions f8a_worker/workers/git_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def generate_files_for_node(path, files):
" curl -o- " + npm_installer + " | bash;"
" source ~/.nvm/nvm.sh; nvm --version"
" nvm install node; nvm use node")
os.system( "cd " + path + "; npm install")
os.system( "cd " + path + "; npm list --prod --json > npm-list.json")
os.system("cd " + path + "; npm install")
os.system("cd " + path + "; npm list --prod --json > npm-list.json")
files.append(FileStorage(open(path + "/npm-list.json", 'rb'),
filename='npm-list.json'))
return files
Expand Down Expand Up @@ -102,7 +102,6 @@ def backbone_for_stack_analysis(self, deps, request_id, is_modified_flag, check_
except Exception:
self.log.exception("Failed to call the gemini scan.")


def execute(self, arguments):
"""Perform the git operations."""
self.log.info("Worker flow initiated for git operations")
Expand Down

0 comments on commit cb7a7cb

Please sign in to comment.