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

output: to: wrong arguments #220

Closed
rweng opened this issue Nov 14, 2013 · 2 comments
Closed

output: to: wrong arguments #220

rweng opened this issue Nov 14, 2013 · 2 comments

Comments

@rweng
Copy link

rweng commented Nov 14, 2013

Hi,

I now get the output to: wrong arguments when requiring wd. This seems to be related to the string package, which makes sense, since it was added 2 days ago to wd.

@sebv
Copy link
Collaborator

sebv commented Nov 14, 2013

Are you using shelljs?

If so, the issue is there, it is logging the error before it even had a chance to be caught. (string.js catches it and ignore it, which is correct.)

You can turn it off like this, then back on later.

var shell = require('shelljs');
shell.config.silent = true;
require('wd');
...
shell.config.silent = false;

Let me know if you still have issue, It can look for alternatives.

@sebv
Copy link
Collaborator

sebv commented Nov 15, 2013

0.2.4 uses underscore.string instead,

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

No branches or pull requests

2 participants