Skip to content

Commit f29cb6d

Browse files
committed
fix RepoBasePath() NPE
1 parent b3db2d8 commit f29cb6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/ilg.gnumcueclipse.core/src/ilg/gnumcueclipse/core/XpackUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public static IPath getRepoPath() {
158158
}
159159
}
160160

161-
return null;
161+
return paths[0].append("xPacks");
162162
}
163163

164164
public static IPath getSysRepoPath() {
@@ -185,7 +185,7 @@ public static IPath getSysRepoPath() {
185185
}
186186
}
187187

188-
return null;
188+
return paths[0].append("xPacks");
189189
}
190190

191191
public static IPath getPackPath(String packName) {

0 commit comments

Comments
 (0)