Skip to content

Commit

Permalink
add FORCE_VERSION check when validating whether or not any packages h…
Browse files Browse the repository at this point in the history
…ave changed
  • Loading branch information
sebmck committed Sep 19, 2015
1 parent 0f8eb66 commit 7eb4535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function publish() {
}
});

if (!changedPackages.length) {
if (!changedPackages.length && !FORCE_VERSION.length) {
throw new Error("No packages changed.");
}

Expand Down

0 comments on commit 7eb4535

Please sign in to comment.