Skip to content

Weird path behavior #19

Description

@lebdev

First of all thank you very much for this great API

Describe the bug

Using JS
The path behavior is very weird.

I've set a public repo with a JSON file to give it a try and just READ for now.
If the path = "@github/owner/repo/file.json" it doesn't work
If the path = "file URL" it works

I've turned the repo to private, created a token with all access granted to give it a try and just READ for now.
If the path = "file URL" it doesn't work
If the path = "@github/owner/repo/file.json" it works

Trying to CREATE with gitrows.put(path,data) repo is private.
If the path = "@github/owner/repo/file.json" it doesn't work
If the path = "file URL" it works

To Reproduce
Basic code from readme.

Expected behavior
Jumping between path is not convenient and took me a while before discovering this.
Path should have same behavior for public/private repos and CRUD operations too.

Additional context
I don't know if this is relevant, but the branch I'm using is main and not master.

Thank you again for your time and efforts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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