Clarify how path is modified in Azure Pipelines with a comment

This commit is contained in:
Sander Declerck 2025-09-24 14:35:48 +02:00
parent 61d940696e
commit e38dcc1ea8
No known key found for this signature in database

View file

@ -114,8 +114,10 @@ function modifyPathForCi(shimsDir) {
);
}
// detect azure pipelines
if (process.env.TF_BUILD) {
// In Azure Pipelines, prepending the path is done via a logging command:
// ##vso[task.prependpath]/path/to/add
// Logging this to stdout will cause the Azure Pipelines agent to pick it up
ui.writeInformation("##vso[task.prependpath]" + shimsDir);
}
}