summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotofune <otofune@gmail.com>2017-01-25 20:22:45 +0900
committerotofune <otofune@gmail.com>2017-01-25 20:22:45 +0900
commit5aa7ab3936b76c9ee411c8a73ff9fa276f9e6780 (patch)
tree831cf316ac26f37ce53b429704a185ad3709ae0a
parentMerge pull request #73 from syuilo/greenkeeper/browserify-14.0.0 (diff)
downloadsharkey-5aa7ab3936b76c9ee411c8a73ff9fa276f9e6780.tar.gz
sharkey-5aa7ab3936b76c9ee411c8a73ff9fa276f9e6780.tar.bz2
sharkey-5aa7ab3936b76c9ee411c8a73ff9fa276f9e6780.zip
[utils] dependencyInfo: update MongoDB regexp
-rw-r--r--src/utils/dependencyInfo.ts2
1 files changed, 1 insertions, 1 deletions
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\.]*) .*/));
}