Fix passing classfier to save() callback #65

Merged
merged 1 commit into from Sep 29, 2012

Projects

None yet

2 participants

@joscha

fs.writeFile has only on parameter to callback, which is the error callback (see here: http://nodejs.org/api/fs.html#fs_fs_writefile_filename_data_encoding_callback) - so the written classifier never gets passed back to the given callback.

@joscha joscha Fix passing the classifier on save
fs.writeFile has only on parameter to callback, which is the error callback (see here: http://nodejs.org/api/fs.html#fs_fs_writefile_filename_data_encoding_callback) - so the written classifier never gets passed back to the given callback.
4f2f498
@chrisumbel chrisumbel merged commit e849502 into NaturalNode:master Sep 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment