Skip to content

Commit

Permalink
Fix warning for AzureFileCopyV6 (#20699)
Browse files Browse the repository at this point in the history
* fix warning for AzureFileCopy

* Update registries and rebuild the task

---------

Co-authored-by: Ivan Duplenskikh <[email protected]>
  • Loading branch information
v-schhabra and ivanduplenskikh authored Dec 2, 2024
1 parent ada1b7e commit 9c66fd5
Show file tree
Hide file tree
Showing 13 changed files with 77 additions and 73 deletions.
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV6/AzureUtilityAz1.0.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function Import-AzModule
else {
# Import the module.
Write-Host "##[command]Import-Module -Name $($module.Path) -Global"
$module = Import-Module -Name $module.Path -Global -PassThru -Force
$module = Import-Module -Name $module.Path -Global -PassThru -Force 3>$null
}
}
}
Expand Down
54 changes: 27 additions & 27 deletions Tasks/AzureFileCopyV6/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 Tasks/AzureFileCopyV6/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 6,
"Minor": 249,
"Patch": 0
"Patch": 2
},
"demands": [
"azureps"
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureFileCopyV6/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 6,
"Minor": 249,
"Patch": 0
"Patch": 2
},
"demands": [
"azureps"
Expand Down
4 changes: 2 additions & 2 deletions _generated/AzureFileCopyV6.versionmap.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Default|6.249.0
Node20_229_2|6.249.1
Default|6.249.2
Node20_229_2|6.249.3
2 changes: 1 addition & 1 deletion _generated/AzureFileCopyV6/AzureUtilityAz1.0.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function Import-AzModule
else {
# Import the module.
Write-Host "##[command]Import-Module -Name $($module.Path) -Global"
$module = Import-Module -Name $module.Path -Global -PassThru -Force
$module = Import-Module -Name $module.Path -Global -PassThru -Force 3>$null
}
}
}
Expand Down
54 changes: 27 additions & 27 deletions _generated/AzureFileCopyV6/package-lock.json

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

6 changes: 3 additions & 3 deletions _generated/AzureFileCopyV6/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 6,
"Minor": 249,
"Patch": 0
"Patch": 2
},
"demands": [
"azureps"
Expand Down Expand Up @@ -288,7 +288,7 @@
"AzModuleNotFound": "Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
},
"_buildConfigMapping": {
"Default": "6.249.0",
"Node20_229_2": "6.249.1"
"Default": "6.249.2",
"Node20_229_2": "6.249.3"
}
}
6 changes: 3 additions & 3 deletions _generated/AzureFileCopyV6/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 6,
"Minor": 249,
"Patch": 0
"Patch": 2
},
"demands": [
"azureps"
Expand Down Expand Up @@ -288,7 +288,7 @@
"AzModuleNotFound": "ms-resource:loc.messages.AzModuleNotFound"
},
"_buildConfigMapping": {
"Default": "6.249.0",
"Node20_229_2": "6.249.1"
"Default": "6.249.2",
"Node20_229_2": "6.249.3"
}
}
4 changes: 4 additions & 0 deletions _generated/AzureFileCopyV6_Node20/.npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
scripts-prepend-node-path=true

registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/

always-auth=true
2 changes: 1 addition & 1 deletion _generated/AzureFileCopyV6_Node20/AzureUtilityAz1.0.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function Import-AzModule
else {
# Import the module.
Write-Host "##[command]Import-Module -Name $($module.Path) -Global"
$module = Import-Module -Name $module.Path -Global -PassThru -Force
$module = Import-Module -Name $module.Path -Global -PassThru -Force 3>$null
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions _generated/AzureFileCopyV6_Node20/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 6,
"Minor": 249,
"Patch": 1
"Patch": 3
},
"demands": [
"azureps"
Expand Down Expand Up @@ -292,7 +292,7 @@
"AzModuleNotFound": "Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
},
"_buildConfigMapping": {
"Default": "6.249.0",
"Node20_229_2": "6.249.1"
"Default": "6.249.2",
"Node20_229_2": "6.249.3"
}
}
6 changes: 3 additions & 3 deletions _generated/AzureFileCopyV6_Node20/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 6,
"Minor": 249,
"Patch": 1
"Patch": 3
},
"demands": [
"azureps"
Expand Down Expand Up @@ -292,7 +292,7 @@
"AzModuleNotFound": "ms-resource:loc.messages.AzModuleNotFound"
},
"_buildConfigMapping": {
"Default": "6.249.0",
"Node20_229_2": "6.249.1"
"Default": "6.249.2",
"Node20_229_2": "6.249.3"
}
}

0 comments on commit 9c66fd5

Please sign in to comment.