Skip to content

Commit f41b4a6

Browse files
ScottBobJayBazuziisidore
committed
- B Fix how path is created for temp folder
Co-authored-by: Jay Bazuzi <[email protected]> Co-authored-by: Llewellyn Falco <[email protected]>
1 parent de6167b commit f41b4a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

approvaltests/src/main/java/org/approvaltests/internal/logs/LoggingUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package org.approvaltests.internal.logs;
22

3-
import com.spun.util.SystemUtils;
3+
import com.spun.util.ClassUtils;
44
import com.spun.util.io.FileUtils;
55
import com.spun.util.io.NetUtils;
66

@@ -30,7 +30,7 @@ public static void downloadScriptIfMissing(String scriptName)
3030
}
3131
public static File getTempDirectory()
3232
{
33-
File approvalTestsTempDir = new File(".approval_tests_temp");
33+
File approvalTestsTempDir = new File(ClassUtils.getProjectRootPath() + "/.approval_tests_temp");
3434
FileUtils.writeFile(new File(approvalTestsTempDir + "/.gitignore"), "*");
3535
return approvalTestsTempDir;
3636
}

0 commit comments

Comments
 (0)