Skip to content

Commit

Permalink
refactor(cli): prefix with unstable_
Browse files Browse the repository at this point in the history
  • Loading branch information
ricokahler committed Apr 29, 2024
1 parent 4ba95fd commit 5649247
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/@sanity/cli/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export interface CliConfig {

vite?: UserViteConfig

enableAutoUpdates?: boolean
unstable_enableAutoUpdates?: boolean
}

export type UserViteConfig =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default async function buildSanityStudio(

const enableAutoUpdates =
flags['enable-auto-updates'] ||
(cliConfig && 'enableAutoUpdates' in cliConfig && cliConfig.enableAutoUpdates)
(cliConfig && 'unstable_enableAutoUpdates' in cliConfig && cliConfig.unstable_enableAutoUpdates)

if (enableAutoUpdates) {
output.print(`${info} Building with auto-updates enabled`)
Expand Down

0 comments on commit 5649247

Please sign in to comment.