Merge pull request #74 from armchair-philosophy/dc_mongo
[utils] dependencyInfo: update MongoDB regexp
This commit is contained in:
commit
5daec781e9
|
@ -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\.]*) .*/));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue