Skip to content

Commit aa47df3

Browse files
committed
ci: is_mount: workaround
1 parent d3721e0 commit aa47df3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

+stdlib/+python/is_mount.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
function y = is_mount(filepath)
66

7+
% some Python on CI needs this. Didn't replicate on local Windows PC.
8+
if ispc() && filepath == stdlib.root_name(filepath) && ~endsWith(filepath, ["/", "\"])
9+
y = false;
10+
return
11+
end
12+
713
try
814
y = py.os.path.ismount(filepath);
915
catch e

0 commit comments

Comments
 (0)