diff --git a/scripts/changelog-experimental-fix.js b/scripts/changelog-experimental-fix.js index bb8ea02462447..0c540c84fc500 100644 --- a/scripts/changelog-experimental-fix.js +++ b/scripts/changelog-experimental-fix.js @@ -75,4 +75,4 @@ function repoRoot() { } const defaultChangelogPath = path.join(repoRoot(), 'CHANGELOG.v2.md'); -rewriteChangelog(process.argv[2] ?? defaultChangelogPath); +rewriteChangelog(process.argv[2] || defaultChangelogPath);