diff --git a/bin/update.ts b/bin/update.ts index ee88be6..c6d979d 100644 --- a/bin/update.ts +++ b/bin/update.ts @@ -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)) {