Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ export const UPDATE_DISABLED_DEMO =
'Manual and automatic CLI updates have been disabled in DEMO mode. ' +
'To check for a new version, unset the environment variable SF_ENV.';

/**
* Adding JSDoc header to this method, just because
*/
export function configureAutoUpdate(envars: Env): void {
if (envars.isDemoMode()) {
// Disable autoupdates in demo mode
Expand Down
Loading