Skip to content
Snippets Groups Projects
Commit e4afd0c6 authored by Klaus Fischer's avatar Klaus Fischer
Browse files

Fixed replace

parent c77b1dad
No related branches found
No related tags found
1 merge request!8Changed defintions to $def
......@@ -22,6 +22,6 @@ if (args.length !== 2) {
let parser = new $RefParser()
let schema = await parser.bundle(args[0])
fs.writeFileSync(args[1], JSON.stringify(schema).replace("%24defs", "$defs"))
fs.writeFileSync(args[1], JSON.stringify(schema).replaceAll("%24defs", "$defs"))
})()
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