Skip to content

Commit

Permalink
Merge pull request #10 from iranimij/module-finder-improvement
Browse files Browse the repository at this point in the history
Module finder improvement
  • Loading branch information
iranimij authored Jan 15, 2025
2 parents 2fa00c5 + ce76068 commit ffd4c67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Console/Command/ScanCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$explodedName = explode(DIRECTORY_SEPARATOR, $item->getName());
$namePath = $explodedName[0] . DIRECTORY_SEPARATOR . $explodedName[1];

if(isset($explodedName[2])) {
$namePath .= DIRECTORY_SEPARATOR . $explodedName[2];
}

if (in_array($namePath, $changedModules)) {
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "iranimij/magento-git-extension-checker",
"description": "Example module for Magento 2",
"version": "1.0.3",
"version": "1.0.4",
"require": {
"php": "~8.1.0||~8.2.0",
"magento/framework": "103.0.*",
Expand Down

0 comments on commit ffd4c67

Please sign in to comment.