From 58433bcb9791d4c0c94f7106040a97c63c039cb8 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Sat, 31 Dec 2016 02:57:05 +0900 Subject: [PATCH] :sparkles: --- src/utils/checkDependencies.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils/checkDependencies.ts b/src/utils/checkDependencies.ts index af2b5fb6b..01c0b5053 100644 --- a/src/utils/checkDependencies.ts +++ b/src/utils/checkDependencies.ts @@ -13,17 +13,17 @@ function checkDependency(serviceName: string, command: string, transform: (x: st success: 0, notFound: 127 }; - let depsLogger = new Logger('Deps'); + let logger = new Logger('Deps'); const x = exec(command, { silent: true }) as any; if (x.code === code.success) { let ver = transform(x.stdout); if (ver != null) { - depsLogger.info(`${serviceName} ${ver[1]} found`); + logger.info(`${serviceName} ${ver[1]} found`); } else { - depsLogger.warn(`${serviceName} not found`); - depsLogger.warn(`Regexp used for version check of ${serviceName} is probably messed up`); + logger.warn(`${serviceName} not found`); + logger.warn(`Regexp used for version check of ${serviceName} is probably messed up`); } } else if (x.code === code.notFound) { - depsLogger.warn(`${serviceName} not found`); + logger.warn(`${serviceName} not found`); } }