def _find_configs(self):
        """
        Scans the project directory for config files or returns
        the explicitly specified list of files.
        """
        if self.config_files is not None:
            return self.config_files

        # Walk the whole project tree and look for "config.rb" files
        result = []
        for path, _, files in os.walk(self.app.root_path):
            if "config.rb" in files:
                result.append(os.path.join(path, "config.rb"))
        return result
Scans the project directory for config files or returns
        the explicitly specified list of files.