Closed emalgholzad closed 6 years ago
Hi,
I am trying to write and append a string to a file: fs.appendFileSync('logs.txt', 'Write this');
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
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: