Skip to content

Commit a2762b4

Browse files
Update scripts/main.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b013966 commit a2762b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/main.ps1

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

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

0 commit comments

Comments
 (0)