Skip to content

Commit

Permalink
chore(app): removing extra echos
Browse files Browse the repository at this point in the history
  • Loading branch information
razshare committed Mar 8, 2024
1 parent f62d014 commit 98c728e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/scripts/Core/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,8 @@ function asFileName(string ...$path):string {
*/
function asPharFileName(string ...$path):string {
if (isPhar()) {
$phar = Phar::running();
$path = [$phar, ...$path];

$phar = Phar::running();
$path = [$phar, ...$path];
$parts = [];
$count = count($path);
for ($index = 0; $index < $count; $index++) {
Expand All @@ -387,7 +386,6 @@ function asPharFileName(string ...$path):string {
}
$result = join($parts);
$result = preg_replace('#/\\./#', '/', $result);
echo "result: $result\n";
return $result;
} else {
return asFileName(...$path);
Expand Down

0 comments on commit 98c728e

Please sign in to comment.