You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Switch update-check storage from .dev to .last-update-check and add it to .gitignore. Rename timestamp helper functions and variables accordingly, and update logic to treat empty/invalid timestamp as null (instead of returning a far-future value). Improve dev-mode messaging and ensure --force-update always overrides dev mode; update the timestamp file after running the self-update check.
// Check for updates. --force-update wins over dev mode so an explicit refresh always runs.
141
+
if ( $team51_cli_is_dev&& ! $team51_cli_force_update) {
143
142
team51_cli_print_message( "\033[44mRunning in developer mode. Skipping update check.\033[0m" );
143
+
if ( $team51_cli_dev_file_exists ) {
144
+
team51_cli_print_message( "\033[33m.dev file detected — run `team51 --force-update <command>` periodically to pick up CLI changes, or `rm .dev` to re-enable the 7-day update buffer.\033[0m" );
0 commit comments