Skip to content

Commit

Permalink
Fix path differences given func checkPlugin (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
BadJacky authored Jun 21, 2024
1 parent 3c38891 commit 8b1c3cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static function init(): void
*/
public static function checkPlugin(\SplFileInfo $mineJson): bool
{
$info = self::read($mineJson->getRealPath());
$info = self::read($mineJson->getRelativePath());
$rules = [
'name' => 'required|string',
'description' => 'required|string',
Expand Down

0 comments on commit 8b1c3cd

Please sign in to comment.