Remove needless check

This commit is contained in:
Aya Morisawa 2017-01-03 05:25:38 +09:00
parent 9621abea98
commit 9a1ff13595

View file

@ -9,8 +9,6 @@ export default class {
} }
showAll(): void { showAll(): void {
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('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\.]*) .*/));