ci: fix type error in scan changes tool (#45119)

* chore: fix type error in scan changes tool

* chore: fix linting issue
This commit is contained in:
Alex Jones 2024-02-28 19:41:21 +00:00 committed by GitHub
parent b160cab657
commit b2dd17c0df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ export const scanForChanges = async (
base,
compareVersion,
Logger.error,
[ 'tools', ...exclude ]
[ 'tools', ...( exclude ? exclude : [] ) ]
);
// Only checkout the compare version if we're in CLI mode.