Skip to content

Commit

Permalink
feat(refactor): simplify checkDocstrings ok check
Browse files Browse the repository at this point in the history
  • Loading branch information
ocehugo committed Nov 4, 2020
1 parent a219777 commit 982e100
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Util/TestUtils/checkDocstrings.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@
[oks(k),~] = testDocstring(file);
end

failed = ~all(oks);
if failed
ok = false;
else
if all(oks)
ok = true;
end

Expand Down

0 comments on commit 982e100

Please sign in to comment.