Skip to content

Commit

Permalink
ci: changedFiles can be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro authored Nov 19, 2024
1 parent 958e531 commit fc94db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/ci.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ async function main() {
forceBuild = true;
}
for (const coref of [".buildkite/ci.mjs", "scripts/utils.mjs", "scripts/bootstrap.sh", "scripts/machine.mjs"]) {
if (changedFiles.includes(coref)) {
if (changedFiles && changedFiles.includes(coref)) {
console.log(" - Yes, because the list of changed files contains:", coref);
forceBuild = true;
ciFileChanged = true;
Expand Down

0 comments on commit fc94db1

Please sign in to comment.