We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2bed5 commit 3e58776Copy full SHA for 3e58776
scripts/docs.ts
@@ -81,8 +81,9 @@ $ codeshift-cli --packages ${name}@${key} path/to/source
81
)
82
.join('')}
83
84
-${config.presets &&
85
- `
+${
+ config.presets
86
+ ? `
87
## Presets
88
89
${Object.keys(config.presets)
@@ -99,7 +100,9 @@ $ codeshift-cli --packages ${name}#${key} path/to/source
99
100
`,
101
102
-`}
103
+`
104
+ : ''
105
+}
106
107
);
108
});
0 commit comments