Fix running the bot outside of Git
This commit is contained in:
parent
ec6fb7de37
commit
55f6271cd9
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -53,7 +53,7 @@ k <BBBw BBBBEBBBBBBBBBBBBBBBBBQ4BM #
|
|||
*+, " F'"'*^~~~^"^\` V+*^
|
||||
\`"""
|
||||
|
||||
esmBot ${esmBotVersion} (${(await exec("git rev-parse HEAD").catch(() => {})).stdout.substring(0, 7)}), powered by eris-fleet ${erisFleetVersion}
|
||||
esmBot ${esmBotVersion} (${(await exec("git rev-parse HEAD").then(output => output.stdout.substring(0, 7), () => "unknown commit"))}), powered by eris-fleet ${erisFleetVersion}
|
||||
`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue