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

{ throw … } not working with collapse-preserve-inline #898

Closed
laggingreflex opened this issue Mar 17, 2016 · 2 comments
Closed

{ throw … } not working with collapse-preserve-inline #898

laggingreflex opened this issue Mar 17, 2016 · 2 comments
Milestone

Comments

@laggingreflex
Copy link

throw inside braces gets pushed to next line

expected (when using collapse-preserve-inline):

.catch(err => { throw err });

but actual result is this:

.catch(err => { 
  throw err });
@bitwiseman bitwiseman added this to the v1.6.3 milestone Mar 17, 2016
@laggingreflex
Copy link
Author

also return:

if (c) { 
    return 1 }

@bitwiseman
Copy link
Member

Thanks!

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

No branches or pull requests

2 participants