Skip to content

Commit 227b1bf

Browse files
committed
fix: Simplify file path patterns in project.json reference documentation
Closes Documentation error with formating. Fixes #257
1 parent 88f13fe commit 227b1bf

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

docs/core-workflows.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ <h2>Run the tests</h2>
246246
PS&gt; Test-NovaBuild
247247
PS&gt; Invoke-NovaTest -TagFilter unit,fast
248248
PS&gt; Test-NovaBuild -ExcludeTagFilter slow
249-
PS&gt; Invoke-NovaTest -OutputVerbosity Detailed -OutputRenderMode Ansi
250-
PS&gt; $credential = Get-Credential
251-
PS&gt; $container = New-PesterContainer -Path 'tests/public/PublishNovaModule.Tests.ps1' -Data @{ Credential = $credential }
252-
PS&gt; Invoke-NovaTest -PesterConfigurationOverride @{ Run = @{ Container = @($container) } }</code></pre>
249+
PS&gt; Invoke-NovaTest -OutputVerbosity Detailed -OutputRenderMode Ansi
250+
PS&gt; $credential = Get-Credential
251+
PS&gt; $container = New-PesterContainer -Path 'tests/public/PublishNovaModule.Tests.ps1' -Data @{ Credential = $credential }
252+
PS&gt; Invoke-NovaTest -PesterConfigurationOverride @{ Run = @{ Container = @($container) } }</code></pre>
253253
</div>
254254
<div class="surface-example__surface" data-command-surface="command-line" hidden>
255255
<pre><code>% nova test

docs/project-json-reference.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,7 @@ <h2>Complete example</h2>
179179
"Enabled": false,
180180
"Path": [
181181
"src/public/*.ps1",
182-
"src/private/*.ps1",
183-
"src/private/*/*.ps1",
184-
"src/private/*/*/*.ps1",
182+
"src/private/**/*.ps1",
185183
"src/classes/*.ps1"
186184
],
187185
"CoveragePercentTarget": 90,

0 commit comments

Comments
 (0)