Commit dddafdf
committed
fix missing common.read and common.write
as discussed in #463 `common.read` (and potentially `common.write`) is missing for optional states created by devices adapter. This is because of these two conditions...
Overwriting `common.read` if it is not `undefined` does not make much sense. The change will set it to `true` if `common.read` is `undefined` (same for `common.write`).1 parent ff7fd50 commit dddafdf
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2458 | 2458 | | |
2459 | 2459 | | |
2460 | 2460 | | |
2461 | | - | |
| 2461 | + | |
2462 | 2462 | | |
2463 | 2463 | | |
2464 | 2464 | | |
2465 | 2465 | | |
2466 | | - | |
| 2466 | + | |
2467 | 2467 | | |
2468 | 2468 | | |
2469 | 2469 | | |
| |||
0 commit comments