mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 08:37:22 +00:00
Fix stale template cache by re-cloning when force-pull fails
Shallow clones (depth=1) cause isomorphic-git's fetch to fail when the remote template has new commits. Instead of showing an error toast and falling back to the stale cached template, delete the cache and re-clone fresh to ensure users always get the latest template.
This commit is contained in:
3 files changed
+29
-37
No files matched your search
@@ -537,8 +537,6 @@
|
||||
"deleting": "Deleting...",
|
||||
"restoreToDefault": "Restore to default",
|
||||
"restoredToDefault": "Restored to Default",
|
||||
"templateUpdateFailed": "Template Update Failed",
|
||||
"templateUpdateFailedDescription": "Failed to update the project template from the remote repository. Using the cached version instead.",
|
||||
"templatesDirectory": "Templates",
|
||||
"terminal": "Terminal",
|
||||
"templateName": "Template Name",
|
||||
|
||||
Reference in new issue
Block a user