gatapia/nclosure — pull request #20 by lrascao (2014-06-27 17:50:10+00:00)
Title: fix deps cli invocation when args are supplied

loadCurrentScriptDeps_ obtains the current script being executed through:
var file = process.argv[process.argv.length - 1];
it then uses the directory where this file is contained to load the deps.js file.
If command line arguments are passed to the script (eg. node script.js -l) then deps.js will not be loaded since process.argv.length - 1 is -l