diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a2c6fa1b..a48b724f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- Use recursive true in error example creation ([#681](https://github.com/getsentry/sentry-wizard/pull/681)) + - Fix creation sentry example when no routes folder ([#680](https://github.com/getsentry/sentry-wizard/pull/680)) ## 3.32.0 diff --git a/src/remix/sdk-example.ts b/src/remix/sdk-example.ts index 2c3a5a433..45d8f818d 100644 --- a/src/remix/sdk-example.ts +++ b/src/remix/sdk-example.ts @@ -16,7 +16,7 @@ export async function createExamplePage(options: { const routesPath = 'app/routes'; if (!fs.existsSync(routesPath)) { - fs.mkdirSync(routesPath); + fs.mkdirSync(routesPath, { recursive: true }); } const exampleRoutePath = `app/routes/sentry-example-page.${