Skip to content

Strange C++ Error probably on Reset #1596

Description

@GCSBOSS

System information

  • node version: v10.8.0.
  • npm or yarn version: 6.3.0
  • OS/version/architecture: Windows 10 x64 (10.0.17134)
  • Applicable nodegit version: 0.23.0

image

npm ERR! Exit status 3221225477

Relevant code:

let current = await repo.getHeadCommit();
await repo.fetchAll();
let newest = repo.getReferenceCommit('origin/master');
if(current.id == newest.id)
    return;
await Reset(repo, newest, Reset.TYPE.HARD);

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