Skip to content

Occasionally flaky hook #14

@Beanow

Description

@Beanow

The hook sometimes comes back with a weird error:

husky > pre-commit (node v10.13.0)

> workgroup-scripts@ generate /media/ground-zero/workspace/git-repos/teamopen/workgroups/scripts
> node main.js


> workgroup-scripts@ add-generated /media/ground-zero/workspace/git-repos/teamopen/workgroups/scripts
> git add :/README.md :/badge.svg :/workgroups/* :/.github/ISSUE_TEMPLATE/wg-*

fatal: not a git repository: '.git'

Manually running npm run add-generated comes back fine though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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