INNER CODE UNIT · JavaScript
handleUpdate
alohe/quicky · index.js:1791
const handleUpdate = async () => {
try {
log(
chalk.yellow("Updating webhook server..."),
);
execSync(
`cd ${webhookPath} && git pull`,
{ stdio: "inherit" },
);
execSync(
`cd ${webhookPath} && npm install`,
{ stdio: "inherit" },
);
await handleRestart();
log(
chalk.green(
"Webhook server updated successfully.",
),