Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor more tests to use cli-testlab #3640

Merged
merged 2 commits into from Jan 28, 2020
Merged

Conversation

kibertoad
Copy link
Collaborator

No description provided.


module.exports = function parseConnectionString(str) {
const parsed = url.parse(str, true);
let { protocol } = parsed;
if (protocol === null) {
const isDriveLetter = isWindows && protocol.length === 2;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Original implementation didn't support sqlite paths to begin with drive letter, e. g. "c:/knex/migrations"

@kibertoad kibertoad merged commit c14252d into master Jan 28, 2020
@kibertoad kibertoad deleted the chore/refactor-cli-test branch January 28, 2020 01:28
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.

None yet

1 participant