Skip to content

Serverless 0.1.x compatibility #2

@arabold

Description

@arabold

With the changes to Serverless 0.1.x this doesn't work out-of-the-box anymore. However, I could easily fix this by changing the last few lines of index.js from this:

      return this.S.validateProject()
        .bind(_this)
        .then(function() {
          return _this.evt;
        })
        .then(_this._listLambdas);

to this:

      return _this._listLambdas(_this.evt);

My understanding is that this should work perfectly fine. I can do a pull request if you like though I wasn't sure if I missed something.

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