Skip to content

Commit

Permalink
fix: fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Sep 16, 2019
1 parent 36de3ff commit 903bd03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/publish-rc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/update-rc/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 903bd03

Please sign in to comment.