Skip to content

Commit b55d2f7

Browse files
Merge branch 'runWithDefaults' of https://github.com/PSModule/Invoke-ScriptAnalyzer into runWithDefaults
2 parents 90ed94c + a2762b4 commit b55d2f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/main.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (-not [string]::IsNullOrEmpty($env:PSMODULE_INVOKE_SCRIPTANALYZER_INPUT_Setti
1717
$settingsFilePath = ''
1818
}
1919

20-
if ($null -eq $settingsFilePath) {
20+
if ([string]::IsNullOrEmpty($settingsFilePath)) {
2121
Write-Information 'No settings file specified or found. Using default PSScriptAnalyzer settings.'
2222
}
2323

0 commit comments

Comments
 (0)