Skip to content

Commit 503dba1

Browse files
committed
fix(console): remove script path check
1 parent 5563eac commit 503dba1

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

packages/console/bin/tempest-complete

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,4 @@ if (PHP_SAPI !== 'cli' && PHP_SAPI !== 'phpdbg') {
2121
return;
2222
}
2323

24-
$script = $_SERVER['SCRIPT_FILENAME'] ?? null;
25-
26-
if (! is_string($script) || realpath($script) !== __FILE__) {
27-
return;
28-
}
29-
3024
new CompletionApplication()->run(array_slice($_SERVER['argv'] ?? [], 1));

0 commit comments

Comments
 (0)