@cypress/env-or-json-file
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@cypress/env-or-json-file", | ||
"description": "Loads JSON object from environment string or local file", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/cypress-io/env-or-json-file/issues", |
@@ -27,2 +27,7 @@ # @cypress/env-or-json-file | ||
const config = configFromEnvOrJsonFile('foo.json') | ||
if (config) { | ||
// ok, loaded somehow | ||
} else { | ||
console.error('Missing config...') | ||
} | ||
``` | ||
@@ -29,0 +34,0 @@ |
7411
99