Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Jun 8, 2019
1 parent e72f667 commit 099fe40
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"commander": "^2.18.0",
"execa": "^1.0.0",
"inquirer": "^6.2.0",
"node-banner": "^1.2.1",
"node-banner": "^1.2.2",
"python-shell": "^1.0.7",
"shelljs": "^0.8.3"
},
Expand Down
1 change: 1 addition & 0 deletions src/commands/submit.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const checkSolution = async (submittedFileContent, solutionFileContent) => {
await pushToRemote();
break;
} catch (err) {
console.log(chalk.red.bold('Error: Invalid credentials'));
// The method gets invoked again as invalid credentials were provided.
}
} while (condition);
Expand Down

0 comments on commit 099fe40

Please sign in to comment.