Skip to content

Commit b8f1d2c

Browse files
committed
Rename the folder as needed
1 parent 313e0bb commit b8f1d2c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Context/FeatureContext.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,13 @@ private static function download_sqlite_plugin( $dir ) {
364364
$error_message = $zip->getStatusString();
365365
throw new RuntimeException( sprintf( 'Failed to open the zip file: %s', $error_message ) );
366366
}
367+
368+
// For the release downloaded from GitHub, the unzipped folder will contain the version number.
369+
// We're renaming the folder here for consistency's sake.
370+
rename(
371+
$dir . '/sqlite-database-integration-2.1.3/',
372+
$dir . '/sqlite-database-integration/'
373+
);
367374
}
368375

369376
/**

0 commit comments

Comments
 (0)