Skip to content

Commit d2ea9d3

Browse files
committed
refactor: remove unneeded check
1 parent ef50333 commit d2ea9d3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Commands/Setup.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,6 @@ private function setAutoloadHelpers(): void
244244
$path = $this->distPath . $file;
245245
$cleanPath = clean_path($path);
246246

247-
if (! is_file($path)) {
248-
$this->error(" Not found file '{$cleanPath}'.");
249-
250-
return;
251-
}
252-
253247
$config = new AutoloadConfig();
254248
$helpers = $config->helpers;
255249
$newHelpers = array_unique(array_merge($helpers, ['auth', 'setting']));

0 commit comments

Comments
 (0)