atom / revert-buffer

Revert a buffer to its saved state
MIT License
9 stars 11 forks source link

fs require not working in latest beta #1

Closed demmer closed 10 years ago

demmer commented 10 years ago

Apologies for sending the garbled earlier message -- github accidentally hit send.

I tried using this in the latest atom beta and got an error due to the fs module not loading.

Changing {fs} = require 'atom' to fs = require 'fs' did the trick for me.

kevinsawicki commented 10 years ago

Thanks for reporting this, I pushed a fix for it in commit 486f1446900fbad89e4238f02e2be442aff0a333 and just published a 0.4.0 release with that fix.