Skip to content

Commit

Permalink
in case
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-online committed Nov 10, 2019
1 parent 45f7c89 commit 2db1dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.js
Expand Up @@ -25,7 +25,7 @@ async function ask(question, cb) {

async function checkForChanges(cb) {
exec(
"git remote add spruce https://github.com/dan-divy/spruce; git fetch spruce; git rev-list HEAD...spruce/project-oak; git remote remove spruce",
"git init; git remote add spruce https://github.com/dan-divy/spruce; git fetch spruce; git rev-list HEAD...spruce/project-oak; git remote remove spruce",
function(err, data) {
if (!data || err) return cb(err || true);
else cb(false, data.split("\n"));
Expand Down

0 comments on commit 2db1dc8

Please sign in to comment.