@incanta/config
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -74,2 +74,3 @@ "use strict"; | ||
}); | ||
// first load the index file | ||
for (const content of contents) { | ||
@@ -80,3 +81,8 @@ if (!content.isDirectory() && /^_?index\./.exec(content.name) !== null) { | ||
} | ||
// then load other files | ||
for (const content of contents) { | ||
// skip git meta files (.gitignore, .gitattributes, etc) | ||
if (/^\.git/.exec(content.name) !== null) { | ||
continue; | ||
} | ||
if (content.isDirectory()) { | ||
@@ -83,0 +89,0 @@ const key = content.name; |
{ | ||
"name": "@incanta/config", | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -88,2 +88,3 @@ import fs from "fs"; | ||
// first load the index file | ||
for (const content of contents) { | ||
@@ -95,3 +96,9 @@ if (!content.isDirectory() && /^_?index\./.exec(content.name) !== null) { | ||
// then load other files | ||
for (const content of contents) { | ||
// skip git meta files (.gitignore, .gitattributes, etc) | ||
if (/^\.git/.exec(content.name) !== null) { | ||
continue; | ||
} | ||
if (content.isDirectory()) { | ||
@@ -98,0 +105,0 @@ const key = content.name; |
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
36022
640