Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos committed Feb 1, 2025
1 parent bac60f6 commit cc1aa53
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 @@ -54,7 +54,7 @@ public static function getSubscribedEvents(): array

public static function clean(Event $event): void
{
$composerLockPath = $event->getComposer()->getConfig()->getConfigSource()->getName();
$composerLockPath = \substr($event->getComposer()->getConfig()->getConfigSource()->getName(), 0, -4) . 'lock';

$lock = new JsonFile($composerLockPath);

Expand Down

0 comments on commit cc1aa53

Please sign in to comment.