You're viewing a comment by sami and its responses.

sami Permalink
June 10, 2011, 10:20

read file function should be updated:

fs.readFileSync('whitelist.txt', "utf8")

otherwise this returns an error: Object

<filename>

has no method 'split'

Apparently node core has been modified: https://github.com/joyent/node/issues/186

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "disk": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.