Skip to content

Commit e2add18

Browse files
committed
is_{read,writ}able: correct typo
1 parent 2ec0ee3 commit e2add18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

+stdlib/is_readable.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
a = file_attributes(p);
1111

12-
ok = ~isempty(a) && (a.UserRead || v.GroupRead || v.OtherRead);
12+
ok = ~isempty(a) && (a.UserRead || a.GroupRead || a.OtherRead);
1313

1414
end
1515

+stdlib/is_writable.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
a = file_attributes(p);
1111

12-
ok = ~isempty(a) && (a.UserWrite || v.GroupWrite || v.OtherWrite);
12+
ok = ~isempty(a) && (a.UserWrite || a.GroupWrite || a.OtherWrite);
1313

1414
end
1515

0 commit comments

Comments
 (0)