This repository was archived by the owner on Nov 30, 2018. It is now read-only.
Commit 4a76f1d
committed
combined 2 guard clauses
Two guard clauses have been combined into one. Previously one clause
was checking for the object's existence, the other was checking for
its attributes. Now the same guard clause chains the conditions
together thereby reducing a code line.1 parent 1cff9cd commit 4a76f1d
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
0 commit comments