From 150a6a8ed9629a46ef9588435a01b0dc6cd15a77 Mon Sep 17 00:00:00 2001 From: Sink Date: Tue, 19 Nov 2024 10:06:59 +0800 Subject: [PATCH] fix: #33 args not found --- src/LintCommand.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/LintCommand.php b/src/LintCommand.php index 9ab4973..8adf42d 100644 --- a/src/LintCommand.php +++ b/src/LintCommand.php @@ -38,9 +38,7 @@ public function handle() $code += $this->call('lint:pmd', [ 'files' => $this->argument('files') ]); - $code += $this->call('lint:route', [ - 'files' => $this->argument('files') - ]); + $code += $this->call('lint:route'); } return $code; }