[utils] dependencyInfo: update MongoDB regexp

This commit is contained in:
otofune 2017-01-25 20:22:45 +09:00
parent e812dcd942
commit 5aa7ab3936
1 changed files with 1 additions and 1 deletions

View File

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