kanso/kanso — Issue #344: Change the name of the "path" parameter in build-steps
Author: jhs
Created: 2011-12-22 01:36:57+00:00
State: open

The build-steps documentation, http://kan.so/docs/Build-steps, describes the `run()` function

run: function (root, path, settings, doc, callback) {
...
callback(err, doc);
}

This is really a documentation change, not a code change. But "path" is an unfortunate parameter name to recommend, because it's the same as a very common Node module, "path". That module is for working with file and directory names, so it is likely to be used by module developers.

Maybe change it to "package" or "location" or something?