fix update
This commit is contained in:
parent
6c493a667d
commit
8706c55585
|
|
@ -8,7 +8,7 @@ export default async function () {
|
|||
return { error: "Can only update in production." }
|
||||
}
|
||||
|
||||
const { stdout } = await $`cd .. && git pull`.quiet()
|
||||
const { stdout } = await $`git pull`.quiet()
|
||||
const out = stdout.toString()
|
||||
|
||||
if (/up to date/.test(out)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user