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

Octal literals are not allowed in strict mode #7

Open
WilliamHuey opened this issue Dec 19, 2016 · 0 comments
Open

Octal literals are not allowed in strict mode #7

WilliamHuey opened this issue Dec 19, 2016 · 0 comments

Comments

@WilliamHuey
Copy link

In the index.js, of this module, the octal literal is causing an error in 'strict' mode. I encounter this error when using babel and webpack to compile js output.

If all the '\033' were replaced with the hex equivalent, '\x1B', as shown in this repository: stevenvachon/cli-clear@e6458ee, the error will go away.

Thanks. 😃

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

1 participant