Skip to content

Commit

Permalink
chore: Stash changes before pulling from origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj-x0 committed May 26, 2024
1 parent 1e93bcf commit 9cac9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/plugins/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ command(
}
await message.sendMessage(message.jid, "*Updating...*");
await exec(
"git pull origin " + config.BRANCH,
"git stash && git pull origin " + config.BRANCH,
async (err, stdout, stderr) => {
if (err) {
return await message.sendMessage(
Expand Down

0 comments on commit 9cac9ed

Please sign in to comment.