Skip to content
Snippets Groups Projects
Commit 5daec781 authored by syuilo⭐️'s avatar syuilo⭐️ Committed by GitHub
Browse files

Merge pull request #74 from armchair-philosophy/dc_mongo

[utils] dependencyInfo: update MongoDB regexp
parents e812dcd9 5aa7ab39
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