feat: log Node.js version at startup (#1346)

Co-authored-by: Gregor Martynus <gregor@martynus.net>
This commit is contained in:
Alex 2020-09-18 19:12:31 +03:00 committed by GitHub
parent 235e308e35
commit 86b0408f13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -314,7 +314,9 @@ export class Probot {
}
public start() {
this.log.info(`Running Probot v${this.version}`);
this.log.info(
`Running Probot v${this.version} (Node.js: v${process.version})`
);
const port = this.options.port || 3000;
const { host } = this.options;
const printableHost = host ?? "localhost";