Skip to content

Commit

Permalink
Fix casing inconsistency in UniversalPackagesV0 tool cache location (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenghao104 authored May 2, 2024
1 parent af3ddf3 commit 74b799d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions common-npm-packages/packaging-common/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 common-npm-packages/packaging-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "azure-pipelines-tasks-packaging-common",
"version": "3.236.0",
"version": "3.239.0",
"description": "Azure Pipelines Packaging Tasks Common",
"scripts": {
"test": "mocha _build/Tests/L0.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ import * as toollib from "azure-pipelines-tool-lib/tool";
export function getArtifactToolLocation(dirName: string): string {
let toolPath: string = path.join(dirName, "ArtifactTool.exe");
if (tl.osType() !== "Windows_NT"){
toolPath = path.join(dirName, "artifacttool");
toolPath = path.join(dirName, "Artifacttool");
}
return toolPath;
}

function _createExtractFolder(dest?: string): string {
if (!dest) {
// create a temp dir
dest = path.join(tl.getVariable("Agent.TempDirectory"), "artifactTool");
dest = path.join(tl.getVariable("Agent.TempDirectory"), "ArtifactTool");
}
tl.mkdirP(dest);
return dest;
Expand Down

0 comments on commit 74b799d

Please sign in to comment.