Skip to content

Commit

Permalink
Rename the folder as needed
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Dec 18, 2023
1 parent 313e0bb commit 419d823
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Context/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,12 @@ private static function download_sqlite_plugin( $dir ) {
$error_message = $zip->getStatusString();
throw new RuntimeException( sprintf( 'Failed to open the zip file: %s', $error_message ) );
}

// For the release downloaded from GitHub, the unzipped folder will contain the version number.
// We're renaming the folder here for consistency's sake.
$unzipped_folder = $dir . '/sqlite-database-integration-2.1.3/';
$renamed_folder = $dir . '/sqlite-database-integration/';
rename( $unzipped_folder, $renamed_folder );
}

/**
Expand Down

0 comments on commit 419d823

Please sign in to comment.