@incanta/config
Advanced tools
Comparing version 0.5.11 to 0.5.12
@@ -123,2 +123,5 @@ "use strict"; | ||
if (options.parentNames) { | ||
if (typeof options.parentNames === "string") { | ||
throw new Error("parentNames should be an array of strings, not a single string"); | ||
} | ||
for (const parentName of options.parentNames) { | ||
@@ -125,0 +128,0 @@ if (parentName === "default") { |
{ | ||
"name": "@incanta/config", | ||
"version": "0.5.11", | ||
"version": "0.5.12", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -161,2 +161,8 @@ import fs from "fs"; | ||
if (options.parentNames) { | ||
if (typeof options.parentNames === "string") { | ||
throw new Error( | ||
"parentNames should be an array of strings, not a single string" | ||
); | ||
} | ||
for (const parentName of options.parentNames) { | ||
@@ -163,0 +169,0 @@ if (parentName === "default") { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
82313
1484