Skip to content

Commit

Permalink
fix(sql-schema-connector): remove typo, fix migration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Jan 15, 2025
1 parent d6cc960 commit 29040c7
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ pub(super) fn drop_database(params: &super::Params) -> ConnectorResult<()> {
}

pub(super) fn ensure_connection_validity(params: &super::Params) -> ConnectorResult<()> {
rusqlite::Connection::open(&params.file_path).map_err(convert_error)?;
let path = std::path::Path::new(&params.file_path);
// we use metadata() here instead of Path::exists() because we want accurate diagnostics:
// if the file is not reachable because of missing permissions, we don't want to return
Expand Down

0 comments on commit 29040c7

Please sign in to comment.