Skip to content

Tighter type checking on passed in nodegit methods  #1127

Description

@maxkorp

As seen here: #1120

Generated code is as such

NAN_METHOD(GitTag::List)
{

  if (info.Length() == 0 || !info[0]->IsObject()) {
    return Nan::ThrowError("Repository repo is required.");
  }

Where info[0] is meant to be a GitRepo object. Templates need to be fixed up to support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions