diff options
-rw-r--r-- | commands/util/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/util/status.js b/commands/util/status.js index b3fcad7..2980618 100644 --- a/commands/util/status.js +++ b/commands/util/status.js @@ -23,7 +23,7 @@ module.exports = { }, async exec(client,message){ getLastCommit(async (err,commit)=>{ - let changed = execSync('git --no-pager diff --minimal --name-only').toString().split('\n') + let changed = execSync('git --no-pager diff --minimal --name-only').toString().split('\n').filter((s) => s!='') let seconds = Math.floor(message.client.uptime / 1000); let minutes = Math.floor(seconds / 60); let hours = Math.floor(minutes / 60); |