llrt
llrt copied to clipboard
readfile API does not return a string when encoding utf-8 is passed
As seen here, if encoding is passed a string should be returned instead of a Buffer
https://nodejs.org/api/fs.html#filehandlereadfileoptions