enhancement(lint): Fix lint errors for src/modules/watch-git.ts

Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com>
Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
zeon-neon[bot] 2024-12-17 03:45:04 +00:00 committed by GitHub
parent 6049343b0c
commit 0f82afe9ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,10 @@ export default function (app: any) {
text: `\`\`\`\n${response.slice(0, 4000)}\`\`\``,
});
}
if (!commitMessage.includes("enhance") && process.uptime() > 1000 * 60) {
if (
!commitMessage.includes("enhance") &&
process.uptime() > 1000 * 60
) {
setTimeout(() => {
process.exit();
}, 1000);