Skip to content
Snippets Groups Projects
Commit d7b741d0 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix: config validator skip package.json

parent e19294e8
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ async function validate(desc, config, isPreset = false) {
}
(async () => {
for (const file of configFileNames) {
for (const file of configFileNames.filter(name => name !== 'package.json')) {
try {
const rawContent = fs.readFileSync(file, 'utf8');
console.log(`Validating ${file}`);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment