mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-24 23:26:17 +09:00
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;
|
||||
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) {
|
||||
log('Warn', `${serviceName} not found`);
|
||||
log('Warn', `${serviceName} not found`, 'Deps');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user