Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ private void runCmakeBuildCommand(IConsole console, IProgressMonitor monitor, IP

Instant finish = Instant.now();
long timeElapsed = Duration.between(start, finish).toMillis();
if (!monitor.isCanceled())
if (!monitor.isCanceled() && epm.getErrorCount() == 0)
{
project.refreshLocal(IResource.DEPTH_INFINITE, monitor);
Comment on lines +454 to 456
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sigmaaa is it going to be fine in terms that the indexer may not be triggered if the project is not refreshed or it will be triggered in both cases?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @alirana01,

The project will be refreshed during indexing anyway if I remember correctly.

ParitionSizeHandler paritionSizeHandler = new ParitionSizeHandler(project, infoStream, console);
Expand Down