remove git from raw commands
This commit is contained in:
1 parent
87b05e5ecd
commit
7adf7f7181
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user