From 903bd03d2399792497d0bf93acaef1dd31c626ca Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Mon, 16 Sep 2019 12:38:03 +0100 Subject: [PATCH] fix: fix linter --- src/publish-rc/index.js | 4 ++-- src/update-rc/index.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/publish-rc/index.js b/src/publish-rc/index.js index 5734a2fc7..5e48d8535 100644 --- a/src/publish-rc/index.js +++ b/src/publish-rc/index.js @@ -23,10 +23,10 @@ async function publishRc (opts) { console.info(`Checking out branch ${opts.branch}`) // eslint-disable-line no-console await exec('git', ['checkout', opts.branch]) - console.info(`Removing dependencies`) // eslint-disable-line no-console + console.info('Removing dependencies') // eslint-disable-line no-console await exec('rm', ['-rf', 'node_modules', 'package-lock.json']) - console.info(`Installing dependencies`) // eslint-disable-line no-console + console.info('Installing dependencies') // eslint-disable-line no-console await exec('npm', ['ci']) console.info('Reading version number') // eslint-disable-line no-console diff --git a/src/update-rc/index.js b/src/update-rc/index.js index 8ac9d91fd..4af0fbe0b 100644 --- a/src/update-rc/index.js +++ b/src/update-rc/index.js @@ -21,15 +21,15 @@ async function updateRc (opts) { console.info(`Checking out branch ${opts.branch}`) // eslint-disable-line no-console await exec('git', ['checkout', opts.branch]) - console.info(`Removing dependencies`) // eslint-disable-line no-console + console.info('Removing dependencies') // eslint-disable-line no-console await exec('rm', ['-rf', 'node_modules', 'package-lock.json']) - console.info(`Installing dependencies`) // eslint-disable-line no-console + console.info('Installing dependencies') // eslint-disable-line no-console await exec('npm', ['ci']) console.info('Updating', opts.preId) // eslint-disable-line no-console await release({ - type: `prerelease`, + type: 'prerelease', preid: opts.preId, 'dist-tag': opts.distTag, build: false,