Skip to content

Commit

Permalink
ignore path.join warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJuanAndOnly99 committed May 2, 2024
1 parent 47df2e3 commit fee515f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schema2Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ function parseSchemaFolder(schemaFolderName, version) {
// Read all files in the schema folder
const schemaFiles = fse.readdirSync("./schemas/"+schemaFolderName)
.filter(file => file.endsWith('.json'))
// nosemgrep
.map(file => path.join("./schemas/"+schemaFolderName, file));

// Process each schema file
Expand Down

0 comments on commit fee515f

Please sign in to comment.