Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
noyshabtay committed Dec 18, 2023
1 parent 37329dc commit ad61c49
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.jfrog.build.extractor.go;

import com.google.common.collect.Maps;
import com.google.common.collect.Sets;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.SystemUtils;
Expand Down Expand Up @@ -126,7 +127,7 @@ public void testGoDriverInit() throws IOException {
File projectDir = Files.createTempDirectory("").toFile();
try {
if (SystemUtils.IS_OS_WINDOWS) {
Map<String, String> env = System.getenv();
Map<String, String> env = Maps.newHashMap(System.getenv());
new GoDriver("C:\\Program Files\\Go\\bin\\go", env, projectDir, new NullLog());
assertTrue(getPathEnv(env).contains("C:\\Program Files\\Go\\bin"));
}
Expand Down

0 comments on commit ad61c49

Please sign in to comment.