From 507a40d860bc293742e0dde02a6332858c178754 Mon Sep 17 00:00:00 2001 From: horike37 Date: Sat, 14 Oct 2017 19:31:01 +0900 Subject: [PATCH] fix linting error --- lib/utils/downloadTemplateFromRepo.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/utils/downloadTemplateFromRepo.js b/lib/utils/downloadTemplateFromRepo.js index 91119263a..1ae503ec9 100644 --- a/lib/utils/downloadTemplateFromRepo.js +++ b/lib/utils/downloadTemplateFromRepo.js @@ -6,13 +6,12 @@ const URL = require('url'); const download = require('download'); const BbPromise = require('bluebird'); const fse = require('fs-extra'); -const chalk = require('chalk'); const qs = require('querystring'); - const renameService = require('./renameService').renameService; const ServerlessError = require('../classes/Error').ServerlessError; const copyDirContentsSync = require('./fs/copyDirContentsSync'); const dirExistsSync = require('./fs/dirExistsSync'); +const log = require('./log/serverlessLog'); /** * @param {Object} url @@ -171,7 +170,7 @@ function downloadTemplateFromRepo(inputUrl, templateName, downloadPath) { throw new ServerlessError(errorMessage); } - console.log(`Serverless: ${chalk.yellow(`Downloading and installing "${serviceName}"...`)}`); + log(`Downloading and installing "${serviceName}"...`); // download service return download(