@salesforce/core 8.14.0 → 8.14.1

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.
@@ -397,7 +397,9 @@ const getWriteStream = (level = 'warn') => {
397
397
  return {
398
398
  target: 'pino-pretty',
399
399
  options: {
400
- colorize: env.getBoolean('SF_LOG_COLORIZE') ?? true,
400
+ // NOTE: env.getBoolean() defaults to false if the env var is not set
401
+ // so it's important to use `||` instead of `??`
402
+ colorize: env.getBoolean('SF_LOG_COLORIZE') || true,
401
403
  destination: env.getBoolean('SF_LOG_STDERR') ? 2 : 1,
402
404
  },
403
405
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core",
3
- "version": "8.14.0",
3
+ "version": "8.14.1",
4
4
  "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
5
5
  "main": "lib/index",
6
6
  "types": "lib/index.d.ts",