Skip to content

Can't open database with absolute path #18

@canac

Description

@canac

First of all, this is a super useful library, so thanks for your work on it!

I'm running into a bug where aloedb can't open databases with absolute paths. getPathDirname('/Users/canac/db.json') returns 'Users/canac' without the leading /, which then causes errors when trying to open the database file. You should just be able to use the native dirname function in the path module instead of a handwritten utility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions