Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/schema.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ function makeSchema(plotlyPath, schemaPath) {
const Plotly = plotlyNode(plotlyPath);
const obj = Plotly.PlotSchema.get();
const sortedObj = sortObject(obj);
const plotSchemaRaw = JSON.stringify(obj, null, 1);
const plotSchemaStr = JSON.stringify(sortedObj, null, 1);
const plotSchemaRaw = JSON.stringify(obj, null, 2);
const plotSchemaStr = JSON.stringify(sortedObj, null, 2);

fs.writeFileSync(schemaPath, plotSchemaStr);

Expand Down
Loading