Skip to content

Commit

Permalink
devonfw#1518 fixed null check
Browse files Browse the repository at this point in the history
  • Loading branch information
MansourD committed Sep 27, 2022
1 parent 6ea43f2 commit f875a3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private static CobiGen initializeCobiGen(IProject generatorProj, boolean allowMo
Path templateSetsAdaptedFolderPath = templatesDirectoryPath.resolve(ConfigurationConstants.ADAPTED_FOLDER);
Path templateSetsDownloadedFolderPath = templatesDirectoryPath.resolve(ConfigurationConstants.DOWNLOADED_FOLDER);

if (generatorProj.isEmpty()) {
if (generatorProj == null) {

// check adapted and downloaded folder
if (Files.exists(templateSetsAdaptedFolderPath) || Files.exists(templateSetsDownloadedFolderPath)) {
Expand Down

0 comments on commit f875a3c

Please sign in to comment.