@cypress/env-or-json-file
Advanced tools
Comparing version 1.1.0 to 1.2.0
{ | ||
"name": "@cypress/env-or-json-file", | ||
"description": "Loads JSON object from environment string or local file", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/cypress-io/env-or-json-file/issues", |
@@ -13,4 +13,6 @@ const path = require('path') | ||
const rep = '_' | ||
// replace all separators with _ or similar character | ||
return filename | ||
.replace(/\//g, rep) | ||
.replace(/\\/g, rep) | ||
.replace(/\./g, rep) | ||
@@ -17,0 +19,0 @@ .replace(/-/g, rep) |
7824
51