ko 6.1.1 → 6.1.2

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.
@@ -23,7 +23,7 @@ class LintFactory extends factory_1.ActionFactory {
23
23
  description: `lint your codes via ${name}`,
24
24
  args: [
25
25
  {
26
- flags: '<patterns>',
26
+ flags: '<patterns...>',
27
27
  description: ` Specify ${name} lint patterns(via glob)`,
28
28
  },
29
29
  ],
@@ -63,14 +63,15 @@ class LintFactory extends factory_1.ActionFactory {
63
63
  const result = (await lintRunner.run(name)).filter(Boolean);
64
64
  if (result.length === 0) {
65
65
  this.successStdout('[success]', `lint via ${name}`);
66
+ process.exit(0);
66
67
  }
67
68
  else {
68
69
  this.warningStdout(`lint via ${name} failed:`);
69
70
  result.forEach(str => {
70
71
  str && this.warningStdout('[failed]', str);
71
72
  });
73
+ process.exit(1);
72
74
  }
73
- process.exit(0);
74
75
  }
75
76
  }
76
77
  exports.default = LintFactory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ko",
3
- "version": "6.1.1",
3
+ "version": "6.1.2",
4
4
  "description": "build & lint library",
5
5
  "keywords": [
6
6
  "ko",