Closed buames closed 6 years ago
Hi!
With writeFileSync, if you were to use any encoding option other than utf8, you get <NSException> ObjC method writeToFile:atomically:encoding:error: requires 4 arguments, but JavaScript passed 3 arguments.
writeFileSync
utf8
<NSException> ObjC method writeToFile:atomically:encoding:error: requires 4 arguments, but JavaScript passed 3 arguments
This adds the missing argument.
Also removed an unused var from readFileSync.
readFileSync
Hi!
With
writeFileSync
, if you were to use any encoding option other thanutf8
, you get<NSException> ObjC method writeToFile:atomically:encoding:error: requires 4 arguments, but JavaScript passed 3 arguments
.This adds the missing argument.
Also removed an unused var from
readFileSync
.