[utils] dependencyInfo: update MongoDB regexp
This commit is contained in:
parent
e812dcd942
commit
5aa7ab3936
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ export default class {
|
||||||
}
|
}
|
||||||
|
|
||||||
showAll(): void {
|
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('Redis', 'redis-server --version', x => x.match(/v=([0-9\.]*)/));
|
||||||
this.show('GraphicsMagick', 'gm -version', x => x.match(/^GraphicsMagick ([0-9\.]*) .*/));
|
this.show('GraphicsMagick', 'gm -version', x => x.match(/^GraphicsMagick ([0-9\.]*) .*/));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue