Skip to content

Commit

Permalink
fix: use import attribute in release-post script (#6707)
Browse files Browse the repository at this point in the history
Node.js 22.0.0 removed support for import assertions
  • Loading branch information
targos committed May 13, 2024
1 parent 0b31ad4 commit 408cacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release-post/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import handlebars from 'handlebars';
import { format } from 'prettier';

import { downloadsTable } from './downloadsTable.mjs';
import prettierConfig from '../../.prettierrc.json' assert { type: 'json' };
import prettierConfig from '../../.prettierrc.json' with { type: 'json' };
import { getRelativePath } from '../../next.helpers.mjs';

const URLS = {
Expand Down

0 comments on commit 408cacb

Please sign in to comment.