Skip to content
Snippets Groups Projects
Commit 5aa7ab39 authored by otofune's avatar otofune
Browse files

[utils] dependencyInfo: update MongoDB regexp

parent e812dcd9
No related branches found
No related tags found
No related merge requests found
......@@ -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\.]*) .*/));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment