mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-11-01 07:35:57 +09:00
[utils] dependencyInfo: update MongoDB regexp
This commit is contained in:
parent
e812dcd942
commit
5aa7ab3936
@ -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
Block a user