@salesforce/core 3.24.4 → 3.24.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [3.24.5](https://github.com/forcedotcom/sfdx-core/compare/v3.24.4...v3.24.5) (2022-07-28)
6
+
7
+ ### Bug Fixes
8
+
9
+ - set correct file mode for log file ([30aa3fc](https://github.com/forcedotcom/sfdx-core/commit/30aa3fc09ba2bf0db600ee6528fde5b0ff97b217))
10
+
5
11
  ### [3.24.4](https://github.com/forcedotcom/sfdx-core/compare/v3.24.3...v3.24.4) (2022-07-28)
6
12
 
7
13
  ### [3.24.3](https://github.com/forcedotcom/sfdx-core/compare/v3.24.2...v3.24.3) (2022-07-28)
package/lib/logger.js CHANGED
@@ -291,11 +291,11 @@ class Logger {
291
291
  fs.mkdirSync(path.dirname(logFile));
292
292
  }
293
293
  else {
294
- fs.mkdirSync(path.dirname(logFile), { mode: 0x700 });
294
+ fs.mkdirSync(path.dirname(logFile), { mode: 0o700 });
295
295
  }
296
296
  }
297
297
  catch (err2) {
298
- // noop; directory exists already
298
+ throw sfError_1.SfError.wrap(err2);
299
299
  }
300
300
  try {
301
301
  fs.writeFileSync(logFile, '', { mode: '600' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core",
3
- "version": "3.24.4",
3
+ "version": "3.24.5",
4
4
  "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",