Skip to content

Commit e0641ca

Browse files
committed
ensure resources/addons directory exists on statamic 5
1 parent a1e72fb commit e0641ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Managers/Agent.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public function saveSettings(Collection $settings): void
7777
return;
7878
}
7979

80+
File::ensureDirectoryExists(resource_path('addons'));
8081
File::put(resource_path('addons/statamic-eyris.yaml'), json_encode($settings->all()));
8182
}
8283

0 commit comments

Comments
 (0)