mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 00:43:49 +01:00
Update log message
This commit is contained in:
parent
92dfc67600
commit
45d38e094a
@ -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