workshopper / levelmeup

Level Me Up Scotty! An intro to Node.js databases via a set of self-guided workshops.
Other
270 stars 61 forks source link

Wrong problem description for Exercise 3 #117

Closed DCrow closed 7 years ago

DCrow commented 7 years ago

This description is wrong:

Your module could look like:
module.exports = function (databaseDir, callback) {
    var result = []
    // your code...
    result.push()
    // more code...
    callback(result)
}

Original description, asks that callback(result) is invoked using one parameter, but it actually requires two callback(error, result)

Description should be:

Your module could look like:
module.exports = function (databaseDir, callback) {
    var result = []
    // your code...
    result.push()
    // more code...
    callback(error, result)
}
martinheidegger commented 7 years ago

Duplicate of #96