class ResultsProcessor {

    public static void processResults(List<String> skippedRepos, List<IOException> exceptions, Logger logger) throws IOException {
        if (!skippedRepos.isEmpty()) {
            logger.info(REPOS_SKIPPED_MESSAGE, skippedRepos);
        }

        if (!exceptions.isEmpty()) {
            throw new IOException(String.format("There were %s errors with changing Dockerfiles.", exceptions.size()));
        }
    }

}