appendFileSync is not working
emalgholzad opened this issue · comments
Hi,
I am trying to write and append a string to a file:
fs.appendFileSync('logs.txt', 'Write this');
But I get the following error in Sketch DevTools:
TypeError: data.dataUsingEncoding is not a function. (In 'data.dataUsingEncoding(NSUTF8StringEncoding)', 'data.dataUsingEncoding' is undefined)
fixed in 0.1.3