Skip to content

Document breaking change between 0.x to 1.xΒ #59

@jmcollin78

Description

@jmcollin78

Hi there,
After upgrading to 1.0, the following code didn't works anymore:

        return (lazypipe()
            .pipe(compass, compassOptions)
            .pipe(csslint)
            .pipe(csslint.reporter)
            .pipe(csslint.failReporter)
            .pipe(livereload)
            

The error is:

[12:04:10] Error: Invalid call to lazypipe().pipe(): no stream creation function specified
    at validateStep (/home/vagrant/cld-apps/node_modules/lazypipe/index.js:9:10)
    at Function.build.pipe (/home/vagrant/cld-apps/node_modules/lazypipe/index.js:36:4)
    at compassPkg (/datas/cld-apps/gulpfile.js:138:14)
    at Gulp.<anonymous> (/datas/cld-apps/gulpfile.js:168:15)

You rename reporter to formatter. How to replace failReporter ?

I think a few release notes explaining how to migrate to 1.0 would be greatly appreciated from community.

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