isml-linter 5.40.2 → 5.40.3

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
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [5.40.3] - 2022-09-12
4
+
5
+ ### Fixed
6
+ - [Issue #35][issue#35] - Manually set bin file linebreak to LF, as previous version didn't fix the issue;
3
7
 
4
8
  ## [5.40.2] - 2022-09-05
5
9
 
@@ -1023,6 +1027,7 @@
1023
1027
  ### Added
1024
1028
  - Linter is published;
1025
1029
 
1030
+ [5.40.3]: https://github.com/FabiowQuixada/isml-linter/compare/v5.40.2...v5.40.3
1026
1031
  [5.40.2]: https://github.com/FabiowQuixada/isml-linter/compare/v5.40.1...v5.40.2
1027
1032
  [5.40.1]: https://github.com/FabiowQuixada/isml-linter/compare/v5.40.0...v5.40.1
1028
1033
  [5.40.0]: https://github.com/FabiowQuixada/isml-linter/compare/v5.39.4...v5.40.0
@@ -1,32 +1,32 @@
1
- #!/usr/bin/env node
2
-
3
- require('../src/util/NativeExtensionUtils');
4
-
5
- const CommandLineUtils = require('../src/util/CommandLineUtils');
6
- const ConfigUtils = require('../src/util/ConfigUtils');
7
-
8
- try {
9
- const commandObj = CommandLineUtils.parseCommand();
10
-
11
- if (!commandObj) {
12
- process.exit(0);
13
- }
14
-
15
- if (commandObj.options.indexOf('--init') >= 0) {
16
- ConfigUtils.init();
17
- process.exit(0);
18
- }
19
-
20
- const IsmlLinter = require('../src/publicApi');
21
- const filePatternArray = commandObj.files;
22
- const exitCode = IsmlLinter.build(filePatternArray);
23
-
24
- if (commandObj.options.indexOf('--build') >= 0) {
25
- process.exit(exitCode);
26
- }
27
-
28
- } catch (e) {
29
- const ConsoleUtils = require('../src/util/ConsoleUtils');
30
- ConsoleUtils.printExceptionMsg(e.stack || e);
31
- process.exit(1);
32
- }
1
+ #!/usr/bin/env node
2
+
3
+ require('../src/util/NativeExtensionUtils');
4
+
5
+ const CommandLineUtils = require('../src/util/CommandLineUtils');
6
+ const ConfigUtils = require('../src/util/ConfigUtils');
7
+
8
+ try {
9
+ const commandObj = CommandLineUtils.parseCommand();
10
+
11
+ if (!commandObj) {
12
+ process.exit(0);
13
+ }
14
+
15
+ if (commandObj.options.indexOf('--init') >= 0) {
16
+ ConfigUtils.init();
17
+ process.exit(0);
18
+ }
19
+
20
+ const IsmlLinter = require('../src/publicApi');
21
+ const filePatternArray = commandObj.files;
22
+ const exitCode = IsmlLinter.build(filePatternArray);
23
+
24
+ if (commandObj.options.indexOf('--build') >= 0) {
25
+ process.exit(exitCode);
26
+ }
27
+
28
+ } catch (e) {
29
+ const ConsoleUtils = require('../src/util/ConsoleUtils');
30
+ ConsoleUtils.printExceptionMsg(e.stack || e);
31
+ process.exit(1);
32
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isml-linter",
3
- "version": "5.40.2",
3
+ "version": "5.40.3",
4
4
  "author": "Fabiow Quixadá <ftquixada@gmail.com>",
5
5
  "license": "MIT",
6
6
  "main": "src/publicApi.js",