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

Wrong example of requiring web-ext in README.md #1990

Closed
mmktomato opened this issue Aug 6, 2020 · 0 comments · Fixed by #1991
Closed

Wrong example of requiring web-ext in README.md #1990

mmktomato opened this issue Aug 6, 2020 · 0 comments · Fixed by #1991

Comments

@mmktomato
Copy link
Contributor

Is this a feature request or a bug?

Bug

What is the current behavior?

I found a wrong example of requiring web-ext in README's Using web-ext in NodeJS code section.
https://github.com/mozilla/web-ext#using-web-ext-in-nodejs-code

// const webExt = require('web-ext').default;    <----- this
// or...

What is the expected or desired behavior?

By #1934 , this should be:

// const webExt = require('web-ext');
// or...

Version information (for bug reports)

Not related to versions of web-ext, Node or browser because this is a document mistake.

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 a pull request may close this issue.

1 participant