refactor: 代码调整,不强制电脑上有 /opt/jmeter/ 目录
This commit is contained in:
parent
94c3902c61
commit
c95afcc29e
|
@ -44,7 +44,7 @@ public class JMeterService {
|
|||
}
|
||||
|
||||
private String getJmeterHome() {
|
||||
String home = getClass().getResource("/").getPath() + "/jmeter";
|
||||
String home = getClass().getResource("/").getPath() + "jmeter";
|
||||
try {
|
||||
File file = new File(home);
|
||||
if (file.exists()) {
|
||||
|
|
Loading…
Reference in New Issue