realestate-com-au / stackup

a simple CLI and Ruby API for AWS CloudFormation
MIT License
97 stars 34 forks source link

Don't set diffy context lines by default. #63

Closed lukeck closed 5 years ago

lukeck commented 5 years ago

Well..set the context lines to nil by default.

In one of our projects, we use stackup as a library.

https://github.com/realestate-com-au/stackup/commit/a8648b3b74082e0dbe665b6ab4a05e7e11d5ba57#diff-e13472b08a3fb472307df53981205a0bL20 introduced a breaking change by adding a new mandatory argument to the diff method.

It looks like diffy uses context = nil by default. https://github.com/samg/diffy/blob/master/lib/diffy/diff.rb#L8