From e38dcc1ea8dc73e1ff51ddf578b391a34c13dfe9 Mon Sep 17 00:00:00 2001 From: Sander Declerck Date: Wed, 24 Sep 2025 14:35:48 +0200 Subject: [PATCH] Clarify how path is modified in Azure Pipelines with a comment --- packages/safe-chain/src/shell-integration/setup-ci.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/safe-chain/src/shell-integration/setup-ci.js b/packages/safe-chain/src/shell-integration/setup-ci.js index 2338894..0449ac4 100644 --- a/packages/safe-chain/src/shell-integration/setup-ci.js +++ b/packages/safe-chain/src/shell-integration/setup-ci.js @@ -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); } }