Skip to content

Commit 20c4611

Browse files
Farwaykorsebergmeister
authored andcommitted
Fix typo in example (#1379)
* Fix typo in example in README.md * Use full parameter name Settings in README.md
1 parent 0fee248 commit 20c4611

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ that does not output an Error or Warning diagnostic record.
342342
Then invoke that settings file when using `Invoke-ScriptAnalyzer`:
343343

344344
``` PowerShell
345-
Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting PSScriptAnalyzerSettings.psd1
345+
Invoke-ScriptAnalyzer -Path MyScript.ps1 -Settings PSScriptAnalyzerSettings.psd1
346346
```
347347

348348
The next example selects a few rules to execute instead of all the default rules.
@@ -355,9 +355,9 @@ The next example selects a few rules to execute instead of all the default rules
355355
}
356356
```
357357

358-
Then invoke that settings file when using:
358+
Then invoke that settings file:
359359
``` PowerShell
360-
Invoke-ScriptAnalyzer -Path MyScript.ps1 -Setting ScriptAnalyzerSettings.psd1
360+
Invoke-ScriptAnalyzer -Path MyScript.ps1 -Settings PSScriptAnalyzerSettings.psd1
361361
```
362362

363363
## Implicit

0 commit comments

Comments
 (0)