ActiveCampaign / postmark-cli

The official CLI tool for Postmark
https://postmarkapp.com
MIT License
79 stars 9 forks source link

Fixed comparing empty strings with nulls and undefined #77

Closed tomek-ac closed 1 year ago

tomek-ac commented 1 year ago

If you pulled a template without the text part and immediately run the push command, the program would show a change to that template. It was happening because we were comparing undefined to empty strings when detecting the changes.