diff --git a/packages/wp-now/src/execute-wp-cli.ts b/packages/wp-now/src/execute-wp-cli.ts index 60824ef9..c0dd778e 100644 --- a/packages/wp-now/src/execute-wp-cli.ts +++ b/packages/wp-now/src/execute-wp-cli.ts @@ -28,7 +28,7 @@ export async function executeWPCli( }: { phpVersion?: string; projectPath?: string } = {} ): Promise<{ stdout: string; stderr: string; exitCode: number }> { await downloadWPCLI(); - let options = await getWpNowConfig({ + const options = await getWpNowConfig({ php: phpVersion || DEFAULT_PHP_VERSION, wp: DEFAULT_WORDPRESS_VERSION, path: projectPath,