Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Feb 19, 2024
1 parent fea573f commit efdb13b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugin/src/main/java/org/haxe4e/builder/HaxeBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/
package org.haxe4e.builder;

import static net.sf.jstuff.core.validation.NullAnalysisHelper.asNonNull;

import java.util.Map;
import java.util.concurrent.CompletionStage;

Expand Down Expand Up @@ -84,7 +86,7 @@ public Context(final IProject project, final IProgressMonitor monitor, final Com
}

final var resource = subDelta.getResource();
switch (resource.getProjectRelativePath().segment(0)) {
switch (asNonNull(resource.getProjectRelativePath().segment(0))) {
case HaxeDependenciesUpdater.STDLIB_MAGIC_FOLDER_NAME:
// don't auto build if changes in stdlib occur
case HaxeDependenciesUpdater.DEPS_MAGIC_FOLDER_NAME:
Expand Down

0 comments on commit efdb13b

Please sign in to comment.