Skip to content

Commit 80910d4

Browse files
🩹 [Patch]: Update log message formatting in PSScriptAnalyzer tests for consistency
1 parent 2b77ba0 commit 80910d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎scripts/tests/PSScriptAnalyzer/PSScriptAnalyzer.Tests.ps1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ Describe 'PSScriptAnalyzer' {
111111
}
112112

113113
$logMessage = if ($hasSettingsFile) {
114-
"Invoke-ScriptAnalyzer -Path [$relativePath] -Recurse -Settings [$relativeSettingsFilePath]"
114+
"Invoke-ScriptAnalyzer -Path '$relativePath' -Recurse -Settings '$relativeSettingsFilePath'"
115115
} else {
116-
"Invoke-ScriptAnalyzer -Path [$relativePath] -Recurse (using default settings)"
116+
"Invoke-ScriptAnalyzer -Path '$relativePath' -Recurse (using default settings)"
117117
}
118118

119119
LogGroup $logMessage {

0 commit comments

Comments
 (0)