Skip to content

Commit ac57e1f

Browse files
committed
is_exe: don't coerce
1 parent b30670b commit ac57e1f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

+stdlib/is_exe.m

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,10 @@
99
% this method is like 40x faster than native.
1010

1111
function y = is_exe(file)
12-
arguments
13-
file (1,1) string
14-
end
1512

1613
y = false;
1714

18-
if ispc() && ~stdlib.native.has_windows_executable_suffix(file)
15+
if ispc() && ~has_windows_executable_suffix(file)
1916
return
2017
end
2118

0 commit comments

Comments
 (0)