Comparing version 1.1.1 to 1.2.0
1.2.0 / 2016-08-04 | ||
================== | ||
* feat: add COV_EXCLUDES for coverage excludes (#7) | ||
1.1.1 / 2016-08-03 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -16,2 +16,8 @@ 'use strict'; | ||
]; | ||
if (process.env.COV_EXCLUDES) { | ||
const excludes = process.env.COV_EXCLUDES.split(','); | ||
for (const exclude of excludes) { | ||
this.excludes.push(exclude); | ||
} | ||
} | ||
} | ||
@@ -18,0 +24,0 @@ |
{ | ||
"name": "egg-bin", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "egg developer tool", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -99,2 +99,10 @@ # egg-bin | ||
#### excludes | ||
You can set `COV_EXCLUDES` env to add dir ignore coverage. | ||
```bash | ||
$ COV_EXCLUDES="app/plugins/c*,app/autocreate/**" egg-bin cov | ||
``` | ||
## Custom egg-bin for your team | ||
@@ -101,0 +109,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14977
243
191
15