refactor: 代码调整,不强制电脑上有 /opt/jmeter/ 目录

This commit is contained in:
Captain.B 2020-08-18 12:26:34 +08:00
parent 94c3902c61
commit c95afcc29e
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class JMeterService {
} }
private String getJmeterHome() { private String getJmeterHome() {
String home = getClass().getResource("/").getPath() + "/jmeter"; String home = getClass().getResource("/").getPath() + "jmeter";
try { try {
File file = new File(home); File file = new File(home);
if (file.exists()) { if (file.exists()) {