Skip to content

Commit

Permalink
100% code cov
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed May 23, 2022
1 parent 4efeca7 commit 7e2d727
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ function loadAndValidateEnvironment (_opts) {
require('dotenv').config(Object.assign({}, opts.dotenv))
}

/* istanbul ignore else */
if (opts.env) {
if (opts.expandEnv) {
require('dotenv-expand').expand({ parsed: process.env })
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"description": "Validate your env variable using Ajv and dotenv",
"main": "index.js",
"scripts": {
"test": "standard | snazzy && tap test/*.test.js --no-check-coverage && npm run typescript",
"test:ci": "standard | snazzy && tap test/*.test.js --no-check-coverage --coverage-report=lcovonly && npm run typescript",
"test": "standard | snazzy && tap test/*.test.js && npm run typescript",
"test:ci": "standard | snazzy && tap test/*.test.js --coverage-report=lcovonly && npm run typescript",
"typescript": "tsd"
},
"repository": {
Expand Down

0 comments on commit 7e2d727

Please sign in to comment.