Skip to content

Conversation

@GilMarques
Copy link
Contributor

Fixes error reported in #619

Pull request checklist

Please check if your PR fulfills the following requirements:

  • The changes have been tested successfully.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a crash in the getSchema method during JSON export operations by improving whitespace handling in SQL schema parsing. The issue occurred when SQL CREATE TABLE statements contained tabs or multiple consecutive spaces between column definitions and their types.

Key Changes:

  • Updated the string splitting pattern from single space to a regex that matches any whitespace sequence

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@robingenz robingenz merged commit 8dfa0c0 into capacitor-community:master Jan 6, 2026
8 checks passed
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.

2 participants