From 5aa7ab3936b76c9ee411c8a73ff9fa276f9e6780 Mon Sep 17 00:00:00 2001 From: otofune Date: Wed, 25 Jan 2017 20:22:45 +0900 Subject: [PATCH] [utils] dependencyInfo: update MongoDB regexp --- src/utils/dependencyInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dependencyInfo.ts b/src/utils/dependencyInfo.ts index 863136743b..9d2c6a1d4f 100644 --- a/src/utils/dependencyInfo.ts +++ b/src/utils/dependencyInfo.ts @@ -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\.]*) .*/)); }