Skip to content

Commit c184786

Browse files
author
Andrew
committed
fixed typo
1 parent e5f49bf commit c184786

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

powershell-adapter/Tests/powershellgroup.resource.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ Describe 'PowerShell adapter resource tests' {
117117
# verify that a new PS Cache version results in cache rebuid
118118
dsc -l debug resource list '*' -a Microsoft.DSC/PowerShell 2> $TestDrive/tracing.txt
119119
$LASTEXITCODE | Should -Be 0
120-
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Incompartible version of cache in file'
120+
"$TestDrive/tracing.txt" | Should -FileContentMatchExactly 'Incompatible version of cache in file'
121121
}
122122
}

powershell-adapter/psDscAdapter/psDscAdapter.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ function Invoke-DscCacheRefresh {
235235

236236
if ($cache.CacheSchemaVersion -ne $script:CurrentCacheSchemaVersion) {
237237
$refreshCache = $true
238-
"Incompartible version of cache in file '"+$cache.CacheSchemaVersion+"' (expected '"+$script:CurrentCacheSchemaVersion+"')" | Write-DscTrace
238+
"Incompatible version of cache in file '"+$cache.CacheSchemaVersion+"' (expected '"+$script:CurrentCacheSchemaVersion+"')" | Write-DscTrace
239239
} else {
240240
$dscResourceCacheEntries = $cache.ResourceCache
241241

0 commit comments

Comments
 (0)