Skip to content

Commit

Permalink
Redact signature for a sas url (microsoft#211)
Browse files Browse the repository at this point in the history
* Redact signature for a sas url

* Bump the minor version

* A different version bump
  • Loading branch information
fadnavistanmay authored Sep 25, 2023
1 parent 87270e6 commit 25c243c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-pipelines-tool-lib",
"version": "2.0.4",
"version": "2.0.5",
"description": "Azure Pipelines Tool Installer Lib for CI/CD Tasks",
"main": "tool.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion tool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export async function downloadTool(
// make sure that the folder exists
tl.mkdirP(path.dirname(destPath));

console.log(tl.loc('TOOL_LIB_Downloading', url));
console.log(tl.loc('TOOL_LIB_Downloading', url.replace(/sig=[^&]*/, "sig=-REDACTED-")));
tl.debug('destination ' + destPath);

if (fs.existsSync(destPath)) {
Expand Down

0 comments on commit 25c243c

Please sign in to comment.