Skip to content

Commit 12ae250

Browse files
chelnakEwan NobleDale MorsonCloudPlatformer
authored
Apply suggestions from code review
Co-Authored-By: Ewan Noble <[email protected]> Co-Authored-By: Dale Morson <[email protected]> Co-Authored-By: jack-education <[email protected]>
1 parent 45ce7fe commit 12ae250

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

Build-Task.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ try {
154154

155155
switch ($Package.Type) {
156156
'PSGallery' {
157-
158157
$PackageInstallDirectory = "$PackageTemp/$($Package.Name)"
159158

160159
$SaveModuleParameters = @{
@@ -177,7 +176,6 @@ try {
177176
break
178177
}
179178
'Nuget' {
180-
181179
$PackageSources = @(Get-PackageSource | Where-Object { $_.Name -like "*nuget*" })
182180
$PackageDestination = "$PackageTemp/$($Package.Name).$($Package.Version)"
183181

tasks/EnvironmentConfiguration/task/ps_modules/Handlers/Handlers.psm1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Export-ModuleMember -Function @(
77
'New-ConfigurationTableEntry'
88
)
99

10-
1110
$Script:EmojiDictionary = @{
1211
GreenCheck = [System.Text.Encoding]::UTF32.GetString(@(20, 39, 0, 0))
1312
StopWatch = [System.Text.Encoding]::UTF32.GetString(@(241, 35, 0, 0))

tasks/EnvironmentConfiguration/task/ps_modules/Handlers/private/storage/Set-TableEntity.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ function Set-TableEntity {
2424
finally {
2525
Trace-VstsLeavingInvocation $MyInvocation
2626
}
27-
2827
}

tasks/EnvironmentConfiguration/tests/New-ConfigurationEntity.unit.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ InModuleScope "Handlers" {
2929
Permissions = "Full"
3030
},
3131
@{
32-
Key1 = "key2"
32+
KeyName = "key2"
3333
Value = "bW9jayBzdG9yYWdlIGFjY291bnQga2V5IG5vdGhpbmcgdG8gc2VlIGhlcmUgMg=="
3434
Permissions = "Full"
3535
}

tasks/EnvironmentConfiguration/tests/Test-Configuration.unit.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ InModuleScope "Handlers" {
1717

1818
Context "When the configuration passed matches the schema definition" {
1919

20-
It "Should validate succesfully and not throw an exception" {
20+
It "Should validate successfully and not throw an exception" {
2121
{ Test-ConfigurationEntity -Configuration $ValidConfiguration -SchemaDefinitionPath $SchemaDefinition } | Should Not Throw
2222
}
2323
}

0 commit comments

Comments
 (0)