From 2efe5417b4769f66d24a188833bacade264bf779 Mon Sep 17 00:00:00 2001 From: archmoj Date: Tue, 18 May 2021 14:17:20 -0400 Subject: [PATCH] set plot-schema indentation to 1 --- tasks/util/make_schema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/util/make_schema.js b/tasks/util/make_schema.js index 6b3537ff829..f2e68036aad 100644 --- a/tasks/util/make_schema.js +++ b/tasks/util/make_schema.js @@ -17,7 +17,7 @@ module.exports = function makeSchema(plotlyPath, schemaPath) { w.eval(plotlyjsCode); var plotSchema = w.Plotly.PlotSchema.get(); - var plotSchemaStr = JSON.stringify(plotSchema, null, 4); + var plotSchemaStr = JSON.stringify(plotSchema, null, 1); fs.writeFileSync(schemaPath, plotSchemaStr); console.log('ok ' + path.basename(schemaPath));