Skip to content

Commit 5df3227

Browse files
author
per
committed
remove the isWindows() check for Sys.which since it works fine in windows.
1 parent 99ca0c5 commit 5df3227

File tree

1 file changed

+0
-4
lines changed
  • core/src/main/java/org/renjin/primitives/files

1 file changed

+0
-4
lines changed

core/src/main/java/org/renjin/primitives/files/Files.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,6 @@ private static boolean isWindows() {
302302
@Internal("Sys.which")
303303
public static StringVector sysWhich(@Current Context context, StringVector names) {
304304

305-
if(isWindows()) {
306-
throw new EvalException("Sys.which() not implemented for Windows");
307-
}
308-
309305
String[] path = Strings.nullToEmpty(System.getenv("PATH")).split(File.pathSeparator);
310306

311307
StringVector.Builder result = new StringArrayVector.Builder(0, names.length());

0 commit comments

Comments
 (0)