Update log message

This commit is contained in:
Aya Morisawa 2016-12-29 20:16:06 +09:00
parent 7d8d7eed7e
commit fde9d1bd20

View File

@ -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');
} }
} }