Skip to content

Commit

Permalink
Fix for using telepathy when telepath is a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
TiiFuchs committed Oct 6, 2022
1 parent c637ed3 commit 51e042a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion telepathy
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/usr/bin/env php
<?php

require __DIR__ . '/vendor/autoload.php';
foreach ([__DIR__ . '/../../autoload.php', __DIR__ . '/../autoload.php', __DIR__ . '/vendor/autoload.php'] as $file) {
if (file_exists($file)) {
require $file;

break;
}
}

use Symfony\Component\Console\Application;
use Telepath\Commands\Close;
Expand Down

0 comments on commit 51e042a

Please sign in to comment.