Skip to content

Commit

Permalink
Prevent NPE in IDEDevModeMain
Browse files Browse the repository at this point in the history
(cherry picked from commit 3c76a10)
  • Loading branch information
aloubyansky authored and gsmet committed Nov 1, 2022
1 parent 963cb50 commit be8659b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ public static List<ResolvedDependency> getReloadableModules(ApplicationModel app
final Map<ArtifactKey, WorkspaceDependencies> modules = new HashMap<>();
StringBuilder nonReloadable = null;
for (ResolvedDependency d : appModel.getDependencies()) {
if (!d.isJar()) {
continue;
}
if (d.isReloadable()) {
modules.put(d.getKey(), new WorkspaceDependencies(d));
} else if (d.isWorkspaceModule()) {
Expand Down

0 comments on commit be8659b

Please sign in to comment.