Skip to content

Commit

Permalink
fix: do not require release script in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
tsvetomir committed Apr 20, 2022
1 parent 87f33ee commit 4e42bab
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions validateConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ function validateConfig(config) {
}
};

assert('Expected to see "semantic-prerelase publish" in "semantic-release" script', () =>
config.scripts['semantic-release']
.indexOf('semantic-prerelease publish') != -1);

const release = config.release;
assert('Expected to see release section in package.json', () => release);

Expand Down

0 comments on commit 4e42bab

Please sign in to comment.