Update log message
This commit is contained in:
parent
7d8d7eed7e
commit
fde9d1bd20
@ -15,8 +15,8 @@ function checkDependency(serviceName: string, command: string, transform: (x: st
|
|||||||
};
|
};
|
||||||
const x = exec(command, { silent: true }) as any;
|
const x = exec(command, { silent: true }) as any;
|
||||||
if (x.code === code.success) {
|
if (x.code === code.success) {
|
||||||
log('Info', `${serviceName} ${transform(x.stdout)}`, 'Deps');
|
log('Info', `${serviceName} ${transform(x.stdout)} found`, 'Deps');
|
||||||
} else if (x.code === code.notFound) {
|
} else if (x.code === code.notFound) {
|
||||||
log('Warn', `${serviceName} not found`);
|
log('Warn', `${serviceName} not found`, 'Deps');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user