Skip to content

Commit 3f68e11

Browse files
tobil4skSimn
authored andcommitted
Use more intuitive logic for subdir check
1 parent 20d7c40 commit 3f68e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/haxelib/api/GlobalScope.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class GlobalScope extends Scope {
6363
repository.setVcsData(library, vcsVersion, data);
6464
}
6565

66-
if (!(data == null || data.subDir == "" || data.subDir == null)) {
66+
if (data != null && data.subDir != "" && data.subDir != null) {
6767
final devDir = repository.getValidVersionPath(library, vcsVersion) + data.subDir;
6868
repository.setDevPath(library, devDir);
6969
} else {

0 commit comments

Comments
 (0)