Skip to content

Commit

Permalink
Remove assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic committed Jul 19, 2024
1 parent a2dfbc4 commit bad9301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/src/content/vite-plugin-content-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function astroContentAssetPropagationPlugin({
const importerParam = params.get('importer');

const importerPath = importerParam
? fileURLToPath(new URL(importerParam!, settings.config.root))
? fileURLToPath(new URL(importerParam, settings.config.root))
: importer;

return this.resolve(base, importerPath, { skipSelf: true, ...opts });
Expand Down

0 comments on commit bad9301

Please sign in to comment.