lukehorvat / screenshot-tweet

Screenshot a tweet.
MIT License
68 stars 6 forks source link

Run end after screenshot for buffer support #5

Closed robbiet480 closed 6 years ago

robbiet480 commented 6 years ago

This simple change allows the Buffer to be returned from the screenshot call if filePath is set null, which lets me bypass writing images to disk.

lukehorvat commented 6 years ago

Cool! Thanks.