Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
gyoshev authored and tsvetomir committed Aug 21, 2017
1 parent c3be373 commit af7d3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/semantic-prerelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const branch = process.env.TRAVIS_BRANCH || process.env.GIT_LOCAL_BRANCH;
const branchTags = config.release && config.release.branchTags;
const tag = branchTags && branchTags[branch];
const dryRun = process.argv.find(arg => /^(--dry-run|-n)$/.test(arg));
const public = process.argv.find(arg => /^(--public)$/.test(arg));
const publicPackage = process.argv.find(arg => /^(--public)$/.test(arg));
const validate = process.argv.find(arg => /^(--validate|-v)$/.test(arg));
const command = [ 'npm', 'publish' ];

Expand All @@ -20,7 +20,7 @@ if (tag) {
command.push('--tag', tag);
}

if (public) {
if (publicPackage) {
command.push('--access=public');
}

Expand Down

0 comments on commit af7d3ea

Please sign in to comment.