From cb7a7cb81998784f59ce6d3f399dce3011d737fc Mon Sep 17 00:00:00 2001 From: Yusuf Zainee Date: Thu, 22 Nov 2018 14:11:41 +0530 Subject: [PATCH] lint --- f8a_worker/workers/git_operations.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/f8a_worker/workers/git_operations.py b/f8a_worker/workers/git_operations.py index 3fb8dd70e..54d82101f 100644 --- a/f8a_worker/workers/git_operations.py +++ b/f8a_worker/workers/git_operations.py @@ -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 @@ -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")