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(