Skip to content

Use better heuristics when checking db folders#1565

Merged
aeisenberg merged 2 commits intomainfrom
aeisenberg/db-folder-check
Oct 3, 2022
Merged

Use better heuristics when checking db folders#1565
aeisenberg merged 2 commits intomainfrom
aeisenberg/db-folder-check

Conversation

@aeisenberg
Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg commented Oct 3, 2022

Small fix that allows users to add databases even if the database root folder starts with db-.

Fixes #1561

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.
  • [Maintainers only] If this pull request makes user-facing changes that require documentation changes, open a corresponding docs pull request in the github/codeql repo and add the ready-for-doc-review label there.

@aeisenberg aeisenberg requested a review from a team as a code owner October 3, 2022 21:06
@aeisenberg aeisenberg changed the title Use better heuristics when chekcking db folders Use better heuristics when checking db folders Oct 3, 2022
@aeisenberg aeisenberg force-pushed the aeisenberg/db-folder-check branch from 77eb83e to 54ba5ce Compare October 3, 2022 21:08
Copy link
Copy Markdown
Contributor

@angelapwen angelapwen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense! The tests make the functionality very clear 😸

…t.ts

Co-authored-by: Angela P Wen <angelapwen@github.com>
@aeisenberg aeisenberg enabled auto-merge October 3, 2022 21:36
@aeisenberg aeisenberg merged commit 011eee1 into main Oct 3, 2022
@aeisenberg aeisenberg deleted the aeisenberg/db-folder-check branch October 3, 2022 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database import fails when folder is prefixed with db-

2 participants