mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 01:13:08 +02:00
Remove log
This commit is contained in:
parent
a4d7ba3172
commit
9621abea98
1 changed files with 0 additions and 2 deletions
|
@ -9,13 +9,11 @@ export default class {
|
||||||
}
|
}
|
||||||
|
|
||||||
showAll(): void {
|
showAll(): void {
|
||||||
this.logger.info('Checking started');
|
|
||||||
this.show('Node.js', 'node -v', x => x.match(/^v(.*)\r?\n$/));
|
this.show('Node.js', 'node -v', x => x.match(/^v(.*)\r?\n$/));
|
||||||
this.show('npm', 'npm -v', x => x.match(/^(.*)\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('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('Redis', 'redis-server --version', x => x.match(/v=([0-9\.]*)/));
|
||||||
this.show('GraphicsMagick', 'gm -version', x => x.match(/^GraphicsMagick ([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 {
|
show(serviceName: string, command: string, transform: (x: string) => RegExpMatchArray): void {
|
||||||
|
|
Loading…
Reference in a new issue