diff --git a/tools/monorepo-utils/src/changefile/index.ts b/tools/monorepo-utils/src/changefile/index.ts index 9b53fd763ce..c851a87b5d2 100644 --- a/tools/monorepo-utils/src/changefile/index.ts +++ b/tools/monorepo-utils/src/changefile/index.ts @@ -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 );