Skip to content
Snippets Groups Projects
Commit 9621abea authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Remove log

parent a4d7ba31
No related branches found
No related tags found
No related merge requests found
......@@ -9,13 +9,11 @@ export default class {
}
showAll(): void {
this.logger.info('Checking started');
this.show('Node.js', 'node -v', x => x.match(/^v(.*)\r?\n$/));
this.show('npm', 'npm -v', x => x.match(/^(.*)\r?\n$/));
this.show('MongoDB', 'mongo --version', x => x.match(/^MongoDB shell version: (.*)\r?\n$/));
this.show('Redis', 'redis-server --version', x => x.match(/v=([0-9\.]*)/));
this.show('GraphicsMagick', 'gm -version', x => x.match(/^GraphicsMagick ([0-9\.]*) .*/));
this.logger.info('Checking finished');
}
show(serviceName: string, command: string, transform: (x: string) => RegExpMatchArray): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment