File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/io/appium/java_client/service/local Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3737public final class AppiumServiceBuilder extends DriverService .Builder <AppiumDriverLocalService , AppiumServiceBuilder > {
3838
3939 public static final String APPIUM_NODE_PROPERTY = "appium.node.path" ;
40- public static final String NODE_JS_EXECUTABLE_PROPERTY = "appium.node.js.exec.path" ;
40+ public static final String APPIUM_NODE_JS_EXEC_PATH = "appium.node.js.exec.path" ;
4141
4242 private static final String APPIUM_FOLDER = "appium" ;
4343 private static final String BIN_FOLDER = "bin" ;
@@ -137,9 +137,9 @@ public AppiumServiceBuilder() {
137137 @ Override
138138 protected File findDefaultExecutable () {
139139
140- String nodeJSExec = System .getProperty (NODE_JS_EXECUTABLE_PROPERTY );
140+ String nodeJSExec = System .getProperty (APPIUM_NODE_JS_EXEC_PATH );
141141 if (StringUtils .isBlank (nodeJSExec )) {
142- nodeJSExec = System .getenv (NODE_JS_EXECUTABLE_PROPERTY );
142+ nodeJSExec = System .getenv (APPIUM_NODE_JS_EXEC_PATH );
143143 }
144144 if (!StringUtils .isBlank (nodeJSExec )) {
145145 File result = new File (nodeJSExec );
You can’t perform that action at this time.
0 commit comments