Skip to content

Commit 82f880e

Browse files
PhilipsonJosephPhilipson Joseph V
andauthored
14091 Inline scripts not working in v5 with space in the filename #14091 (#15275)
* 14091 Inline scripts not working in v5 with space in the filename #14091 * Review changnes completed * Review comments addressed Co-authored-by: Philipson Joseph V <[email protected]>
1 parent 8c050f1 commit 82f880e

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

Tasks/AzurePowerShellV4/AzurePowerShell.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ try {
9393
$contents += "`$VerbosePreference = 'continue'"
9494
}
9595

96-
$contents += ". $PSScriptRoot\UpdatePSModulePath.ps1 $UpdatePSModulePathArgument"
96+
$contents += ". '$PSScriptRoot\UpdatePSModulePath.ps1' $UpdatePSModulePathArgument"
9797
if ($scriptType -eq "InlineScript") {
9898
$contents += "$scriptInline".Replace("`r`n", "`n").Replace("`n", "`r`n")
9999
} else {

Tasks/AzurePowerShellV4/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 185,
20+
"Minor": 193,
2121
"Patch": 0
2222
},
2323
"releaseNotes": "Added support for Az Module and cross platform agents.",

Tasks/AzurePowerShellV4/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 4,
20-
"Minor": 184,
21-
"Patch": 1
20+
"Minor": 193,
21+
"Patch": 0
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
2424
"groups": [

Tasks/AzurePowerShellV5/AzurePowerShell.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ try
7070
} else {
7171
$CoreAzArgument = "-endpoint '$endpoint'"
7272
}
73-
$contents += ". $PSScriptRoot\CoreAz.ps1 $CoreAzArgument"
73+
$contents += ". '$PSScriptRoot\CoreAz.ps1' $CoreAzArgument"
7474

7575
if ($scriptType -eq "InlineScript") {
7676
$contents += "$scriptInline".Replace("`r`n", "`n").Replace("`n", "`r`n")

Tasks/AzurePowerShellV5/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 5,
20-
"Minor": 185,
20+
"Minor": 193,
2121
"Patch": 0
2222
},
2323
"releaseNotes": "Added support for Az Module and cross platform agents.",

Tasks/AzurePowerShellV5/task.loc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 5,
20-
"Minor": 184,
21-
"Patch": 1
20+
"Minor": 193,
21+
"Patch": 0
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",
2424
"groups": [

0 commit comments

Comments
 (0)