Skip to content

Commit

Permalink
disable line folding in yaml output
Browse files Browse the repository at this point in the history
  • Loading branch information
skarim committed Sep 1, 2024
1 parent 46df85c commit f9b9065
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flisk/analyze-tracking",
"version": "0.2.3",
"version": "0.2.4",
"description": "Analyzes tracking code in a project and generates data schemas",
"main": "src/index.js",
"bin": {
Expand Down
1 change: 1 addition & 0 deletions src/yamlGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ function generateYamlSchema(events, repository, outputPath) {
};
const options = {
noRefs: true,
lineWidth: -1,
};
const yamlOutput = yaml.dump(schema, options);
const yamlFile = `# yaml-language-server: $schema=${SCHEMA_URL}\n${yamlOutput}`;
Expand Down

0 comments on commit f9b9065

Please sign in to comment.