Skip to content

Commit

Permalink
avoid empty line when not self-hosted
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Sep 13, 2023
1 parent 3ade91f commit 376d86e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nextjs/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,8 @@ export function getNextjsWebpackPluginOptionsTemplate(
// Suppresses source map uploading logs during build
silent: true,
${selfHosted ? ` url: "${url}"` : ''}
org: "${orgSlug}",
project: "${projectSlug}",
project: "${projectSlug}",${selfHosted ? `\n url: "${url}"` : ''}
}`;
}

Expand Down

0 comments on commit 376d86e

Please sign in to comment.