@huangjunsen/encode-fe-lint 1.0.2 → 1.0.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.
Files changed (2) hide show
  1. package/lib/cli.js +1 -1
  2. package/package.json +2 -2
package/lib/cli.js CHANGED
@@ -147,7 +147,7 @@ commander_1.program
147
147
  .command('commit-msg-scan')
148
148
  .description('commit message 检查: git commit 时对 commit message 进行检查')
149
149
  .action(function () {
150
- var result = cross_spawn_1.default.sync('commitlint', ['-E', 'HUSKY_GIT_PARAMS'], { stdio: 'inherit' });
150
+ var result = cross_spawn_1.default.sync('commitlint', ['-E', '$1'], { stdio: 'inherit' });
151
151
  if (result.status !== 0) {
152
152
  process.exit(result.status);
153
153
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@huangjunsen/encode-fe-lint",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "前端编码规范工程化标准脚手架",
5
5
  "bin": {
6
- "${name}": "lib/cli.js"
6
+ "@huangjunsen/encode-fe-lint": "./lib/cli.js"
7
7
  },
8
8
  "main": "./lib/index.js",
9
9
  "files": [