@zohodesk/codestandard-validator 1.3.0 → 1.3.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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  const {
4
4
  existsSync,
5
- rm
5
+ rmSync
6
6
  } = require('fs');
7
7
  const {
8
8
  Logger
@@ -20,7 +20,7 @@ function removeFolder(folderPath) {
20
20
  try {
21
21
  let isCommonConfigFolderPresent = existsSync(folderPath);
22
22
  if (isCommonConfigFolderPresent) {
23
- executeSynchronizedCommands(rm, [folderPath, {
23
+ executeSynchronizedCommands(rmSync, [folderPath, {
24
24
  recursive: true,
25
25
  force: true
26
26
  }], 'common linter configuration folder removed successfully', 'Unable to remove the common linter configuration folder', false, false);
package/changeLog.md CHANGED
@@ -58,3 +58,8 @@
58
58
  2. Fix typo in Config.js: `intialize` corrected to `initialize` for post-install execution
59
59
  3. Remove unused `jest.setup.js` placeholder file
60
60
  4. Version bump from `1.2.4-exp-7` to `1.2.4-exp-9`
61
+
62
+ # 1.3.1 - Bug Fixes
63
+
64
+ 1. Replace asynchronous `fs.rm` with synchronous `fs.rmSync` in folder cleanup utility to align with synchronized command execution.
65
+ 2. Update package version from `1.3.0` to `1.3.1`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/codestandard-validator",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "library to enforce code standard using eslint",
5
5
  "main": "index.js",
6
6
  "scripts": {