@sanity/cli 4.15.1-next.4 → 4.15.1-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/dev.js CHANGED
@@ -16,10 +16,8 @@ register({
16
16
  supported: {'dynamic-import': false},
17
17
  })
18
18
 
19
- if (process.env.TEST !== 'true') {
20
- // oxlint-disable-next-line no-console
21
- console.log('\n️ⓘ Running local Sanity CLI from source\n')
22
- }
19
+ // oxlint-disable-next-line no-console
20
+ console.warn('\n️ⓘ Running local Sanity CLI from source\n')
23
21
 
24
22
  // Define the global `__DEV__` flag which is used to
25
23
  // - determine when to use `esbuild-register` in the Sanity development server
@@ -71093,7 +71093,7 @@ Please upgrade to a version that satisfies the range ${chalk__default.default.gr
71093
71093
  );
71094
71094
  }
71095
71095
  function warnOnNonProductionEnvironment() {
71096
- sanityEnv !== "production" && process.env.TEST !== "true" && console.warn(
71096
+ sanityEnv !== "production" && console.warn(
71097
71097
  chalk__default.default.yellow(
71098
71098
  knownEnvs.includes(sanityEnv) ? `[WARN] Running in ${sanityEnv} environment mode
71099
71099
  ` : `[WARN] Running in ${chalk__default.default.red("UNKNOWN")} "${sanityEnv}" environment mode