Skip to content

Commit 8e46750

Browse files
authored
Syntax fix of last commit
1 parent f5ac9eb commit 8e46750

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Engine/InvokeScriptAnalyzer.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ Describe "Test -Fix Switch" {
475475
AfterEach {
476476
if ($null -ne $initialTestScript)
477477
{
478-
[System.IO.File]::WriteAllText($directory\TestScriptWithFixableWarnings.ps1, initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI
478+
[System.IO.File]::WriteAllText("$($directory)\TestScriptWithFixableWarnings.ps1", initialTestScript) # Set-Content -NoNewline was only introduced in PS v5 and would therefore not work in CI
479479
}
480480
}
481481

0 commit comments

Comments
 (0)