Changelog Auto Add script: Fix property chaining (#44570)

Fix property chaining
This commit is contained in:
Paul Sealock 2024-02-15 04:04:56 +13:00 committed by GitHub
parent d279466eb3
commit 4061bbfc2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ const program = new Command( 'changefile' )
const changelogFilePath = nodePath.join(
tmpRepoPath,
projectPath,
composerFile.extra?.changelogger[ 'changes-dir' ] ??
composerFile.extra?.changelogger?.[ 'changes-dir' ] ??
'changelog',
fileName
);