forked from mirror/misskey
[utils] dependencyInfo: update MongoDB regexp
This commit is contained in:
parent
e812dcd942
commit
5aa7ab3936
@ -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 New Issue
Block a user