Skip to content

Commit

Permalink
Update changelog for 1.7.3 & use Array.isArray instead of underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Dec 30, 2019
1 parent f22d18c commit 55c8db5
Show file tree
Hide file tree
Showing 5 changed files with 751 additions and 552 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ results
npm-debug.log
node_modules
.build*

.idea/
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## v1.7.3

* Update dependencies
* Do not publish to client

## v1.7.2

* Add test target to makefile
* Revert the changes from "Handle stopping a publication early [#121](https://github.com/Meteor-Community-Packages/meteor-publish-composite/pull/121)

## v1.7.1

* Handle stopping a publication early
Expand Down
3 changes: 1 addition & 2 deletions lib/publish_composite.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { _ } from 'meteor/underscore';
import { Meteor } from 'meteor/meteor';

import Publication from './publication';
Expand Down Expand Up @@ -41,7 +40,7 @@ function prepareOptions(options, args) {
return [];
}

if (!_.isArray(preparedOptions)) {
if (!Array.isArray(preparedOptions)) {
preparedOptions = [preparedOptions];
}

Expand Down
Loading

0 comments on commit 55c8db5

Please sign in to comment.