[utils] dependencyInfo: update MongoDB regexp

This commit is contained in:
otofune 2017-01-25 20:22:45 +09:00
parent e812dcd942
commit 5aa7ab3936

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\.]*) .*/));
}