Skip to content

Commit 9c66fd5

Browse files
Fix warning for AzureFileCopyV6 (#20699)
* fix warning for AzureFileCopy * Update registries and rebuild the task --------- Co-authored-by: Ivan Duplenskikh <[email protected]>
1 parent ada1b7e commit 9c66fd5

13 files changed

+77
-73
lines changed

Diff for: Tasks/AzureFileCopyV6/AzureUtilityAz1.0.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function Import-AzModule
409409
else {
410410
# Import the module.
411411
Write-Host "##[command]Import-Module -Name $($module.Path) -Global"
412-
$module = Import-Module -Name $module.Path -Global -PassThru -Force
412+
$module = Import-Module -Name $module.Path -Global -PassThru -Force 3>$null
413413
}
414414
}
415415
}

Diff for: Tasks/AzureFileCopyV6/package-lock.json

+27-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: Tasks/AzureFileCopyV6/task.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 6,
1616
"Minor": 249,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"demands": [
2020
"azureps"

Diff for: Tasks/AzureFileCopyV6/task.loc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 6,
1616
"Minor": 249,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"demands": [
2020
"azureps"

Diff for: _generated/AzureFileCopyV6.versionmap.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Default|6.249.0
2-
Node20_229_2|6.249.1
1+
Default|6.249.2
2+
Node20_229_2|6.249.3

Diff for: _generated/AzureFileCopyV6/AzureUtilityAz1.0.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function Import-AzModule
409409
else {
410410
# Import the module.
411411
Write-Host "##[command]Import-Module -Name $($module.Path) -Global"
412-
$module = Import-Module -Name $module.Path -Global -PassThru -Force
412+
$module = Import-Module -Name $module.Path -Global -PassThru -Force 3>$null
413413
}
414414
}
415415
}

Diff for: _generated/AzureFileCopyV6/package-lock.json

+27-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: _generated/AzureFileCopyV6/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 6,
1616
"Minor": 249,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"demands": [
2020
"azureps"
@@ -288,7 +288,7 @@
288288
"AzModuleNotFound": "Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
289289
},
290290
"_buildConfigMapping": {
291-
"Default": "6.249.0",
292-
"Node20_229_2": "6.249.1"
291+
"Default": "6.249.2",
292+
"Node20_229_2": "6.249.3"
293293
}
294294
}

Diff for: _generated/AzureFileCopyV6/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 6,
1616
"Minor": 249,
17-
"Patch": 0
17+
"Patch": 2
1818
},
1919
"demands": [
2020
"azureps"
@@ -288,7 +288,7 @@
288288
"AzModuleNotFound": "ms-resource:loc.messages.AzModuleNotFound"
289289
},
290290
"_buildConfigMapping": {
291-
"Default": "6.249.0",
292-
"Node20_229_2": "6.249.1"
291+
"Default": "6.249.2",
292+
"Node20_229_2": "6.249.3"
293293
}
294294
}

Diff for: _generated/AzureFileCopyV6_Node20/.npmrc

+4
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
scripts-prepend-node-path=true
2+
3+
registry=https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/
4+
5+
always-auth=true

Diff for: _generated/AzureFileCopyV6_Node20/AzureUtilityAz1.0.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function Import-AzModule
409409
else {
410410
# Import the module.
411411
Write-Host "##[command]Import-Module -Name $($module.Path) -Global"
412-
$module = Import-Module -Name $module.Path -Global -PassThru -Force
412+
$module = Import-Module -Name $module.Path -Global -PassThru -Force 3>$null
413413
}
414414
}
415415
}

Diff for: _generated/AzureFileCopyV6_Node20/task.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 6,
1616
"Minor": 249,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"demands": [
2020
"azureps"
@@ -292,7 +292,7 @@
292292
"AzModuleNotFound": "Could not find the modules: 'Az.Accounts'. If the module was recently installed, retry after restarting the Azure Pipelines task agent."
293293
},
294294
"_buildConfigMapping": {
295-
"Default": "6.249.0",
296-
"Node20_229_2": "6.249.1"
295+
"Default": "6.249.2",
296+
"Node20_229_2": "6.249.3"
297297
}
298298
}

Diff for: _generated/AzureFileCopyV6_Node20/task.loc.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 6,
1616
"Minor": 249,
17-
"Patch": 1
17+
"Patch": 3
1818
},
1919
"demands": [
2020
"azureps"
@@ -292,7 +292,7 @@
292292
"AzModuleNotFound": "ms-resource:loc.messages.AzModuleNotFound"
293293
},
294294
"_buildConfigMapping": {
295-
"Default": "6.249.0",
296-
"Node20_229_2": "6.249.1"
295+
"Default": "6.249.2",
296+
"Node20_229_2": "6.249.3"
297297
}
298298
}

0 commit comments

Comments
 (0)