fs.readFile example update in documentation #2

Merged
merged 2 commits into from Sep 10, 2011

Projects

None yet

2 participants

@ldhieu
ldhieu commented Sep 10, 2011

Hi Olly,

The previous example if followed through will throw errors as it expects data to be second, and err to be first.

cf node's official documentation (as of 0.4.11).

Cheers,
Hieu

Luu-Danh, Hieu added some commits Sep 10, 2011
@ollym ollym merged commit b6f7f08 into ollym:master Sep 10, 2011
@ollym
Owner
ollym commented Sep 10, 2011

Thanks for this. Much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment