Skip to content

fix args[0] bug, corodva -> cordova#97

Closed
ralphtheninja wants to merge 1 commit intoapache:e2e-testsfrom
ralphtheninja:e2e-tests
Closed

fix args[0] bug, corodva -> cordova#97
ralphtheninja wants to merge 1 commit intoapache:e2e-testsfrom
ralphtheninja:e2e-tests

Conversation

@ralphtheninja
Copy link

run --help gives the following error

lms@zenb00k|12:48|~ $ /home/lms/src/multiscreen/platforms/android/cordova/run --help

/home/lms/src/multiscreen/platforms/android/cordova/lib/run.js:113
    console.log('Usage: ' + path.relative(process.cwd(), args[0]) + ' [options
                                                         ^
ReferenceError: args is not defined
    at Object.module.exports.help (/home/lms/src/multiscreen/platforms/android/cordova/lib/run.js:113:58)
    at Object.<anonymous> (/home/lms/src/multiscreen/platforms/android/cordova/run:29:9)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:901:3

@agrieve
Copy link
Contributor

agrieve commented Dec 6, 2013

Thanks! I've merged this in.

http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/7b8c1563

Please close the pull request.

@agrieve
Copy link
Contributor

agrieve commented Feb 13, 2014

@ralphtheninja Please close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants