Skip to content
This repository was archived by the owner on Aug 29, 2021. It is now read-only.
This repository was archived by the owner on Aug 29, 2021. It is now read-only.

TypeError when using ES2015 arrow functions #28

@jaypanares

Description

@jaypanares

Hi,

Currently using ES2015 arrow functions to implement a task and I'm met with the following error:
TypeError: Cannot read property '1' of null

My gulp task:
gulp.task('test-param', (debug) => console.log(debug));
with the command:
> gulp test-param --debug

I know ES2015 may not be widely used yet but I wanted to let you know that the arrow function breaks the intended behavior.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions