mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed PATH env variable for virtualenvs (PY-5962)
This commit is contained in:
@@ -58,7 +58,7 @@ public class PythonEnvUtil {
|
||||
*/
|
||||
@NotNull
|
||||
public static String appendToPathEnvVar(@Nullable String source, @NotNull String value) {
|
||||
if (StringUtil.isEmpty(source)) {
|
||||
if (StringUtil.isNotEmpty(source)) {
|
||||
assert source != null;
|
||||
Set<String> vals = Sets.newHashSet(source.split(File.pathSeparator));
|
||||
if (!vals.contains(value)) {
|
||||
|
||||
Reference in New Issue
Block a user