refactor: 代码调整,不强制电脑上有 /opt/jmeter/ 目录
This commit is contained in:
parent
94c3902c61
commit
c95afcc29e
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue