mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-10-01 09:40:35 +13:00
Fix NPE
This commit is contained in:
parent
34b9e1e2c5
commit
87d1d45cae
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ public class StandardStorage extends DataStorage {
|
|||
if (!hasFixedLocal) {
|
||||
var e = DataStoreEntry.createNew(
|
||||
LOCAL_ID, DataStorage.DEFAULT_CATEGORY_UUID, "Local Machine", new LocalStore());
|
||||
e.setDirectory(getStoresDir().resolve(LOCAL_ID.toString()));
|
||||
e.setConfiguration(
|
||||
StorageElement.Configuration.builder().deletable(false).build());
|
||||
storeEntries.add(e);
|
||||
|
|
Loading…
Reference in a new issue