Skip to content

Inconsistent behavior between Windows & Mac for "file:///" urls #80

@fahslaj

Description

@fahslaj

When the 'url' property of 'repository' is a local file, Windows and Mac will behave differently. On windows, the "project" and "user" properties returned will be null, whereas on a Mac they will be populated. See this example: https://stackblitz.com/edit/node-kypon1?file=index.js

Though a local file is rarely used as a git origin, it is technically valid (see: "bare" repositories and useful for mocking git remotes for the purpose of integration testing. The inconsistency in behavior between Windows and Mac causes downstream issues in these types of tests.

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