make fix-app
Introduction
make fix-app clears a dangling SPLENT_APP and returns the workspace to detached mode. You need it when the prompt shows the product in yellow with a ?, which means its folder is gone, usually because you deleted or renamed it after splent product:select.
(my_product?) /workspace$
make fix-app
🛠️ SPLENT fix-app
[✔] Cleared dangling SPLENT_APP='old_product' → detached mode
Re-select a product later with: splent product:select <name>
What it changes
SPLENT_APP |
Action |
|---|---|
| Unset | Nothing, already detached |
| Set, the folder exists | Nothing, the selection is valid |
| Set, the folder is missing | Removes the line, so the workspace is detached |
Running it again changes nothing. See how the repairs write .env.
See also
splent product:selectchooses a product again.splent product:deselectdetaches from inside the container.