Skip to content

Commit 6ddbc79

Browse files
committed
Remove GOPATH from default gtm path
1 parent e0ebd69 commit 6ddbc79

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/io/edgeg/gtm/intellij/GTMRecord.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,10 @@ public static Boolean initGtmExePath() {
9494
gtmExeName = "gtm.exe";
9595
gtmPath = new String[]{
9696
Paths.get(System.getenv("ProgramFiles"), "gtm", "bin").toString(),
97-
Paths.get(System.getenv("ProgramFiles(x86)"), "gtm", "bin").toString(),
98-
Paths.get(System.getenv("GOPATH"), "bin").toString()};
97+
Paths.get(System.getenv("ProgramFiles(x86)"), "gtm", "bin").toString()};
9998
} else {
10099
gtmExeName = "gtm";
101-
gtmPath = new String[]{
102-
"/usr/bin","/bin", "/usr/sbin","/sbin","/usr/local/bin/",
103-
Paths.get(System.getenv("GOPATH"), "bin").toString()};
100+
gtmPath = new String[]{"/usr/bin", "/bin", "/usr/sbin", "/sbin", "/usr/local/bin/"};
104101
}
105102

106103
String pathVar = System.getenv("PATH");

0 commit comments

Comments
 (0)