Skip to content

Commit

Permalink
make sure generate examples is not prompted for js/ts language question
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Feb 15, 2024
1 parent 7a3ce2a commit 6bbaecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/scripts/generateExamples.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ async function generateTemplateExample(template) {
// Run the docusaurus script to create the template in the examples folder
const command = template.endsWith('-typescript')
? template.replace('-typescript', ' -- --typescript')
: template;
: `${template } -- --javascript`;
shell.exec(
// We use the published init script on purpose, because the local init is
// too new and could generate upcoming/unavailable config options.
Expand Down

0 comments on commit 6bbaecd

Please sign in to comment.