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 b8f1d2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Context/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,13 @@ 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.
rename(
$dir . '/sqlite-database-integration-2.1.3/',
$dir . '/sqlite-database-integration/'
);
}

/**
Expand Down

0 comments on commit b8f1d2c

Please sign in to comment.