Skip to content

TypeError: Cannot read property 'replace' of undefined #191

@bechir

Description

@bechir

Hi,
I'm working on conventional-github-releaser 3.1.5, and i have the following error:

TypeError: Cannot read property 'replace' of undefined at ghGot (/path/to/project/node_modules/gh-got/index.js:32:58)

In my gulp configuration:

function githubRelease(done) {
    conventionalGithubReleaser({
            type: 'oauth',
            token: process.env.GH_TOKEN
        }, {
            preset: 'angular'
        },
        done
    );
}

exports.release = series(
    // ...
    githubRelease
);

Possible solution
Update gh-got to ^9.0.0 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions