Skip to content

Commit 0eb080b

Browse files
swissspidyCopilot
andauthored
Update src/DB_Command_SQLite.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e1fa540 commit 0eb080b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command_SQLite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protected function is_sqlite3_available() {
2020
static $available = null;
2121

2222
if ( null === $available ) {
23-
$result = \WP_CLI\Process::create( 'which sqlite3', null, null )->run();
23+
$result = \WP_CLI\Process::create( '/usr/bin/env sqlite3 --version', null, null )->run();
2424
$available = 0 === $result->return_code;
2525
}
2626

0 commit comments

Comments
 (0)