Skip to content

Commit c4c6454

Browse files
committed
Make props for Gren optional
1 parent 4740d7c commit c4c6454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/Gren.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const defaults = {
2222

2323
/** Class creating release notes and changelog notes */
2424
class Gren {
25-
constructor(props) {
25+
constructor(props = {}) {
2626
this.options = ObjectAssign({}, defaults, props);
2727
this.tasks = [];
2828

0 commit comments

Comments
 (0)