Skip to content

Commit 4ba56e6

Browse files
committed
simplify
1 parent d681e7b commit 4ba56e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+stdlib/canonical.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
e = p;
2727
end
2828

29-
if ~strlength(e) || (ispc() && (startsWith(e, "\\") || startsWith(e, "//")))
29+
if ~strlength(e) || (ispc() && (startsWith(e, {'\\', '//'})))
3030
% UNC path is not canonicalized
3131
return
3232
end

0 commit comments

Comments
 (0)