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

Error in parsing when using arrow functions #97

Closed
drdpedroso opened this Issue Jul 19, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@drdpedroso

drdpedroso commented Jul 19, 2016

I'm getting queh trying to es.merge my javascript files.

  stream.js:75
     throw er; // Unhandled stream error in pipe.

The error message:
Error: Error in parsing: "modules/example/controllers/example-controller.js", Line 8: Unexpected token )

My Controller file:

        self.toggleSidenav = () => {
            return $mdSidenav('left').toggle();
        };

Is there some solution for it?

@dominictarr

This comment has been minimized.

Owner

dominictarr commented Jul 20, 2016

I think you want https://www.npmjs.com/package/stream-concat instead.
merge doesn't join the input end to end, but just mixes it into one stream.

@drdpedroso

This comment has been minimized.

drdpedroso commented Jul 20, 2016

Thanks! That what i'm looking for :)

@drdpedroso drdpedroso closed this Jul 20, 2016

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