8000 Suppress unhandled error in some specific use-cases. · rw4lll/symfony@d975ca7 · GitHub
[go: up one dir, main page]

Skip to content

Commit d975ca7

Browse files
committed
Suppress unhandled error in some specific use-cases.
1 parent 1457491 commit d975ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Command/DumpCompletionCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected function configure()
4141
{
4242
$fullCommand = $_SERVER['PHP_SELF'];
4343
$commandName = basename($fullCommand);
44-
$fullCommand = realpath($fullCommand) ?: $fullCommand;
44+
$fullCommand = @realpath($fullCommand) ?: $fullCommand;
4545

4646
$this
4747
->setHelp(<<<EOH

0 commit comments

Comments
 (0)
0