From c3ded81382d556bc96c41ffdd380163ea6764ee5 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 863136743..9d2c6a1d4 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\.]*) .*/)); }