Skip to content

Cannot read properties of undefined (reading 'branch') #354

@kalinkrustev

Description

@kalinkrustev

Describe the bug

Getting the error below when git is not installed:
version: ^3.0.0-beta.22

TypeError: Cannot read properties of undefined (reading 'branch')
    at DefaultAllureStore.readHistory (file:///opt/app/node_modules/@allurereport/core/dist/store/store.js:147:164)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async AllureReport.start (file:///opt/app/node_modules/@allurereport/core/dist/report.js:111:13)
    at async GenerateCommand.execute (file:///opt/app/node_modules/allure/dist/commands/generate.js:71:13)
    at async GenerateCommand.validateAndExecute (file:///opt/app/node_modules/clipanion/lib/advanced/Command.mjs:49:26)
    at async Cli.run (file:///opt/app/node_modules/clipanion/lib/advanced/Cli.mjs:227:24)
    at async Cli.runExit (file:///opt/app/node_modules/clipanion/lib/advanced/Cli.mjs:236:28)

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