Skip to content

[BUG] Repository fails to clone on Windows due to invalid file path in postman/collection-dir/.../.meta.json #9111

@Krriishhhhhh

Description

@Krriishhhhhh

Bug Description

When attempting to clone this repository on Windows, the checkout process fails because one of the files has an invalid path that includes a trailing space.

Expected Behavior

The repository should clone successfully on all platforms, including Windows.

Actual Behavior

The following error occurs:

error: invalid path 'postman/collection-dir/archipel/Flow Testcases/Happy Cases/Scenario10-Create 3DS payment without external 3ds authentication /.meta.json' fatal: unable to checkout working tree warning: Clone succeeded, but checkout failed.``

Steps To Reproduce

On a Windows machine, run:

git clone https://github.com/juspay/hyperswitch

Context For The Bug

I searched around and fout out the possible cause of this and found out that Windows file systems do not allow file or folder names with trailing spaces, so

.../Scenario10-Create 3DS payment without external 3ds authentication /.meta.json

is invalid.

I just wanted to bring this issue to the attention of maintainers , and to get it confirmed whether its a local machine issue or product issue , and i would like to work together with the maintainers to work on this

Environment

Windows

Have you spent some time checking if this bug has been raised before?

  • I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

Are you willing to submit a PR?

No, but I'm happy to collaborate on a PR with someone else

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-CI-CDArea: Continuous Integration/DeploymentC-bugCategory: Bug

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions