Use logger
This commit is contained in:
parent
d55bedc02f
commit
dc21a819d6
2 changed files with 6 additions and 7 deletions
|
|
@ -6,7 +6,6 @@ export default function(): void {
|
|||
checkDependency('npm', 'npm -v', x => x.match(/^(.*)\r?\n$/)[1]);
|
||||
checkDependency('MongoDB', 'mongo --version', x => x.match(/^MongoDB shell version: (.*)\r?\n$/)[1]);
|
||||
checkDependency('Redis', 'redis-server --version', x => x.match(/v=([0-9\.]*)/)[1]);
|
||||
log('Info', 'Successfully checked external dependencies');
|
||||
}
|
||||
|
||||
function checkDependency(serviceName: string, command: string, transform: (x: string) => string): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue