We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cff0b7e + 324f6aa commit c2dfa60Copy full SHA for c2dfa60
src/main/java/org/web3j/console/project/ProjectStructure.java
@@ -74,8 +74,11 @@ private String generateRoot(final String path) {
74
return System.getProperty("user.home");
75
} else if (path.startsWith("~" + File.separator)) {
76
return System.getProperty("user.home") + path.substring(1);
77
+ } else if (path.equals(".")) {
78
+ return System.getProperty("user.dir");
79
+ } else if (path.startsWith(".")) {
80
+ return System.getProperty("user.dir") + path.substring(1);
81
}
-
82
return path;
83
84
0 commit comments