You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: graalpython/org.graalvm.python.embedding/src/org/graalvm/python/embedding/utils/VirtualFileSystem.java
+2-13Lines changed: 2 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -235,13 +235,7 @@ public VirtualFileSystem build() {
235
235
privatestaticPathgetMountPointAsPath(Stringmp) {
236
236
PathmountPoint = Path.of(mp);
237
237
if (mp.endsWith(PLATFORM_SEPARATOR) || !mountPoint.isAbsolute()) {
238
-
Stringmsg;
239
-
if (System.getenv("GRAALPY_VFS_MOUNT_POINT") != null) {
240
-
msg = String.format("Environment variable GRAALPY_VFS_MOUNT_POINT must be set to an absolute path without a trailing separator: '%s'", mp);
241
-
} else {
242
-
msg = String.format("Virtual filesystem mount point must be set to an absolute path without a trailing separator: '%s'", mp);
243
-
}
244
-
thrownewIllegalArgumentException(msg);
238
+
thrownewIllegalArgumentException(String.format("Virtual filesystem mount point must be set to an absolute path without a trailing separator: '%s'", mp));
0 commit comments