Node.js---Amazon-S3
Node.js---Amazon-S3 copied to clipboard
fs.writeable has changed to fs.writable as of node v0.3.5
Hey Dallin,
I just wanted to let you know that in node v0.3.5 and later the streams now use the stream.writable boolean instead of the stream.writeable boolean (http://nodejs.org/docs/v0.3.5/api/streams.html#stream.writable).
Thus in s3.js @ line 308:
if(!fileStream.writeable){
should be changed to:
if(!fileStream.writable){
This should not be changed on versions of node before v0.3.5, so maybe there's a better way? Perhaps there's a way to check for the node version?
Thanks for the module btw.
Jason