The automatic local target is only needed when accessing the API via weldr. In the store, the target was only added when `stateDir` was not `nil`. This is only used for testing which doesn't exercise the branch in weldr. Thus, the same check is not needed there. |
||
|---|---|---|
| .. | ||
| store.go | ||
| store_test.go | ||