mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
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:
parent
6049343b0c
commit
0f82afe9ec
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue