Skip to content

Commit

Permalink
better variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
indivisualvj committed Jun 19, 2024
1 parent 72cff34 commit 0ceb2a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Task/YarnBundler.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ private function isVite(): bool
if (getcwd() === false) {
return false;
}
$configFile = sprintf('%s/node_modules/@vitejs', getcwd());
return file_exists($configFile);
$path = sprintf('%s/node_modules/@vitejs', getcwd());
return file_exists($path);
}
}

0 comments on commit 0ceb2a8

Please sign in to comment.