mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
fix linting error
This commit is contained in:
parent
3c058f2cf0
commit
507a40d860
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user