Skip to content

Commit d9880e6

Browse files
fix: code cleanup
1 parent 571f44d commit d9880e6

File tree

1 file changed

+0
-24
lines changed
  • bundles/com.espressif.idf.core/src/com/espressif/idf/core/util

1 file changed

+0
-24
lines changed

bundles/com.espressif.idf.core/src/com/espressif/idf/core/util/IDFUtil.java

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -212,30 +212,6 @@ public static String getIDFPythonEnvPath()
212212

213213
}
214214

215-
public static String getIDFPythonEnvPath(String idfPyEnvPath)
216-
{
217-
idfPyEnvPath = idfPyEnvPath.strip();
218-
if (!StringUtil.isEmpty(idfPyEnvPath))
219-
{
220-
221-
if (Platform.getOS().equals(Platform.OS_WIN32))
222-
{
223-
idfPyEnvPath = idfPyEnvPath + "/" + "Scripts"; //$NON-NLS-1$ //$NON-NLS-2$
224-
}
225-
else
226-
{
227-
idfPyEnvPath = idfPyEnvPath + "/" + "bin"; //$NON-NLS-1$ //$NON-NLS-2$
228-
}
229-
java.nio.file.Path commandPath = findCommand(IDFConstants.PYTHON_CMD, idfPyEnvPath);
230-
if (commandPath != null)
231-
{
232-
return commandPath.toFile().getAbsolutePath();
233-
}
234-
}
235-
return findCommandFromBuildEnvPath(IDFConstants.PYTHON_CMD);
236-
237-
}
238-
239215
public static String getIDFPythonEnvPath(String idfPyEnvPath)
240216
{
241217
idfPyEnvPath = idfPyEnvPath.strip();

0 commit comments

Comments
 (0)