@salesforce/core 3.26.3 → 3.26.4
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 +6 -0
- package/lib/logger.js +2 -2
- package/package.json +1 -1
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.26.4](https://github.com/forcedotcom/sfdx-core/compare/v3.26.3...v3.26.4) (2022-09-14)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **logger:** idempotent mkdir when creating sf dir ([#635](https://github.com/forcedotcom/sfdx-core/issues/635)) ([4594940](https://github.com/forcedotcom/sfdx-core/commit/4594940a16f5473aeea0af37a2705e9f00e2590a))
|
|
10
|
+
|
|
5
11
|
### [3.26.3](https://github.com/forcedotcom/sfdx-core/compare/v3.26.2...v3.26.3) (2022-09-06)
|
|
6
12
|
|
|
7
13
|
### [3.26.2](https://github.com/forcedotcom/sfdx-core/compare/v3.26.1...v3.26.2) (2022-08-16)
|
package/lib/logger.js
CHANGED
|
@@ -288,10 +288,10 @@ class Logger {
|
|
|
288
288
|
catch (err1) {
|
|
289
289
|
try {
|
|
290
290
|
if (process.platform === 'win32') {
|
|
291
|
-
fs.mkdirSync(path.dirname(logFile));
|
|
291
|
+
fs.mkdirSync(path.dirname(logFile), { recursive: true });
|
|
292
292
|
}
|
|
293
293
|
else {
|
|
294
|
-
fs.mkdirSync(path.dirname(logFile), { mode: 0o700 });
|
|
294
|
+
fs.mkdirSync(path.dirname(logFile), { mode: 0o700, recursive: true });
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
catch (err2) {
|