Skip to content

Commit

Permalink
Fix printing options not passed along to root
Browse files Browse the repository at this point in the history
  • Loading branch information
fkling committed Jul 31, 2015
1 parent 04c4a9f commit d9039a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class Collection {

toSource(options) {
if (this._parent) {
return this._parent.toSource();
return this._parent.toSource(options);
}
if (this.__paths.length === 1) {
return recast.print(this.__paths[0], options).code;
Expand Down

0 comments on commit d9039a7

Please sign in to comment.