зеркало из https://github.com/microsoft/PSRule.git
Documentation fixes (#2568)
* Add missing word in conventions page * Correct spelling of 'fails' in standalone-rule page * Change description of -InputPath parameter --------- Co-authored-by: Ronald Bosma <ronaldb@infosupport.com>
This commit is contained in:
Родитель
e22ef8a040
Коммит
366bb4bea1
|
@ -106,7 +106,7 @@ Evaluate items and additionally save the results into a variable `resultRecords`
|
|||
|
||||
### -InputPath
|
||||
|
||||
Instead of processing objects from the pipeline, import objects file the specified file paths.
|
||||
Instead of processing objects from the pipeline, import objects from the specified file paths.
|
||||
|
||||
```yaml
|
||||
Type: String[]
|
||||
|
|
|
@ -45,7 +45,7 @@ Get target objects from `resources.json`.
|
|||
|
||||
### -InputPath
|
||||
|
||||
Instead of processing objects from the pipeline, import objects file the specified file paths.
|
||||
Instead of processing objects from the pipeline, import objects from the specified file paths.
|
||||
|
||||
```yaml
|
||||
Type: String[]
|
||||
|
|
|
@ -409,7 +409,7 @@ Accept wildcard characters: False
|
|||
|
||||
### -InputPath
|
||||
|
||||
Instead of processing objects from the pipeline, import objects file the specified file paths.
|
||||
Instead of processing objects from the pipeline, import objects from the specified file paths.
|
||||
|
||||
```yaml
|
||||
Type: String[]
|
||||
|
|
|
@ -304,7 +304,7 @@ Accept wildcard characters: False
|
|||
|
||||
### -InputPath
|
||||
|
||||
Instead of processing objects from the pipeline, import objects file the specified file paths.
|
||||
Instead of processing objects from the pipeline, import objects from the specified file paths.
|
||||
|
||||
```yaml
|
||||
Type: String[]
|
||||
|
|
|
@ -70,7 +70,7 @@ Convention block limitations:
|
|||
- `End` can not use automatic variables except `$PSRule`.
|
||||
Most methods and properties of `$PSRule` are not available in `End`.
|
||||
|
||||
By default, the `Process` block used.
|
||||
By default, the `Process` block is used.
|
||||
For example:
|
||||
|
||||
```powershell
|
||||
|
|
|
@ -64,7 +64,7 @@ Before an object can be tested with PSRule, one or more rules must be defined.
|
|||
Each rule is defined in a file named with the suffix `.Rule.yaml`, `.Rule.jsonc`, or `.Rule.ps1`.
|
||||
Multiple rules can be defined in a single file.
|
||||
|
||||
A rule that fail on files with `.jpg` or `.png` extensions is shown in YAML, JSON, and PowerShell formats.
|
||||
A rule that fails on files with `.jpg` or `.png` extensions is shown in YAML, JSON, and PowerShell formats.
|
||||
You only need to choose one format, however you can choose to create all three to try out each format.
|
||||
|
||||
=== "YAML"
|
||||
|
|
Загрузка…
Ссылка в новой задаче