Merge pull request from armchair-philosophy/dc_mongo

[utils] dependencyInfo: update MongoDB regexp
This commit is contained in:
syuilo⭐️ 2017-01-25 20:32:34 +09:00 committed by GitHub
commit 5daec781e9

View file

@ -9,7 +9,7 @@ export default class {
}
showAll(): void {
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('GraphicsMagick', 'gm -version', x => x.match(/^GraphicsMagick ([0-9\.]*) .*/));
}