Skip to content

Infinite loop in determining basePath #31

@marcovtwout

Description

@marcovtwout

On Windows, if you run the upload command and .git is not in any parent directory, you get an infinite loop: https://github.com/scrutinizer-ci/ocular/blob/master/src/Scrutinizer/Ocular/Command/CodeCoverage/UploadCommand.php#L104

$dir will eventually become the drive letter, for example: C:\

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