try {
results = checkPsiFile(filesToScan, overrideConfigLocation);
final CheckStyleToolWindowPanel toolWindowPanel = CheckStyleToolWindowPanel.panelFor(plugin.getProject());
if (toolWindowPanel != null) {
toolWindowPanel.incrementProgressBarBy(filesToScan.size());
}
} catch (Throwable e) {
error = e;
}
}