remove git from raw commands

This commit is contained in:
Brenden Harrell committed 2021-10-08 08:54:22 -05:00
1 parent 87b05e5ecd
commit 7adf7f7181
1 file changed
+1 -1
+1 -1
View File
@@ -892,7 +892,7 @@ exports.newHttpInterface = function newHttpInterface() {
const git = simpleGit(options)
try {
await git.checkout(currentBranch)
let postCheckoutCommands = ['git remote add upstream https://github.com/Superalgos/Superalgos', `git pull upstream ${currentBranch}`]
let postCheckoutCommands = ['remote add upstream https://github.com/Superalgos/Superalgos', `pull upstream ${currentBranch}`]
let result = await git.raw(postCheckoutCommands);
console.log(result)