Skip to content

Commit

Permalink
Fix repro templates script
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Dec 2, 2022
1 parent 2e10672 commit a10f056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/next-repro-generators/generate-repros.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const runGenerators = async (
// where as others are very picky about what directories can be called. So we need to
// handle different modes of operation.
if (script.includes('{{beforeDir}}')) {
const scriptWithBeforeDir = script.replace('{{beforeDir}}', BEFORE_DIR_NAME);
const scriptWithBeforeDir = script.replaceAll('{{beforeDir}}', BEFORE_DIR_NAME);
await runCommand(
scriptWithBeforeDir,
{
Expand Down

0 comments on commit a10f056

Please sign in to comment.