Skip to content

Commit

Permalink
BUGFIX: NullpointerException in ComposerUtil
Browse files Browse the repository at this point in the history
  • Loading branch information
cvette committed Sep 19, 2017
1 parent 4517b3b commit 3fc4b34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/de/vette/idea/neos/util/ComposerUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ public class ComposerUtil {

@Nullable
public static JsonFile getComposerManifest(PsiDirectory currentDirectory) {
JsonFile composerFile;
if (currentDirectory == null) {
return null;
}

JsonFile composerFile;
do {
composerFile = getComposerManifestInDirectory(currentDirectory);
currentDirectory = currentDirectory.getParentDirectory();
Expand Down

0 comments on commit 3fc4b34

Please sign in to comment.