dotmaster/nmd — pull request #2 by zefredz (2013-04-24 12:55:43+00:00)
Title: Fix a TypeError in nmd.js : process.ARGV is now process.argv

Hello,

I have fixed the following issue in nmd.

/path/to/node_modules/nmd/nmd.js:15
var command=process.ARGV[1];
^
TypeError: Cannot read property '1' of undefined
at Object. (/home/fminne/node_modules/nmd/nmd.js:15:25)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)

The cause of this error is that process.ARGV has been renamed process.argv

I hope this could be merged in the original project.

Best regards,

Fred