Skip to content

Commit

Permalink
Issue #18: Correct method to check configuration has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
omarlopesino committed Nov 27, 2023
1 parent 7bd2b19 commit 58df3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UpdaterCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ protected function areDependenciesUpdated(string $package_name, array $composer_
* TRUE when the configuration has changed.
*/
protected function isConfigurationChanged() {
return ((int) trim($this->runCommand('git status -s | grep -v composer.json | grep -v composer.lock | grep -v composer.drupalupdater.lock | wc -l')->getOutput())) > 0;
return ((int) trim($this->runCommand('git status -s config | wc -l')->getOutput())) > 0;
}

/**
Expand Down

0 comments on commit 58df3e0

Please sign in to comment.