Skip to content

Commit 1801a73

Browse files
committed
Lint fix
1 parent f97d982 commit 1801a73

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/WP_CLI/Shell/REPL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ private static function create_prompt_cmd( $prompt, $history_path ) {
199199
// PowerShell uses ` (backtick) for escaping but for strings single quotes are literal.
200200
// If prompt contains single quotes, we double them in PowerShell.
201201
$prompt_for_ps = str_replace( "'", "''", $prompt );
202-
$cmd = "\$line = Read-Host -Prompt '{$prompt_for_ps}'; Write-Output \$line;";
202+
$cmd = "\$line = Read-Host -Prompt '{$prompt_for_ps}'; Write-Output \$line;";
203203
return "powershell.exe -NoProfile -Command \"{$cmd}\"";
204204
}
205205

0 commit comments

Comments
 (0)