Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing args #14

Closed
knownasilya opened this issue Jul 31, 2016 · 3 comments
Closed

Passing args #14

knownasilya opened this issue Jul 31, 2016 · 3 comments
Labels

Comments

@knownasilya
Copy link
Contributor

knownasilya commented Jul 31, 2016

I'm trying the following denode bin/strider --no-cluster but denode doesn't want to run it. Any thoughts?

You can try it on the repo here https://github.com/Strider-CD/strider


Looks like this is the culprit:

if (!module.parent) {
  cli.parser.parse();
}

https://github.com/Strider-CD/strider/blob/master/bin/strider#L53

The parent is denode..

@steelbrain
Copy link
Owner

Investigating

@steelbrain
Copy link
Owner

After some investigation, I couldn't find a solution to not set module.parent in the dependent functions and now that we're thinking about it, it's a bin file instead of an external main file, it shouldn't just check for parent. It should execute by default

@knownasilya
Copy link
Contributor Author

Good point. Will investigate why we have that there..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants