Skip to content

Commit 5f9576d

Browse files
committed
ci: Fix demo command
1 parent a35b360 commit 5f9576d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/demo-command.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
$bodyLines = $github.event.client_payload.github.payload.comment.body -split '\r?\n' | Select-Object -SkipFirst 1
2727
$body = $bodyLines -join "`n"
2828
$md = ConvertFrom-Markdown $body
29-
using namespace Markdig.Syntax
30-
$codeBlocks = [MarkdownObjectExtensions]::Descendants($md.Tokens) | Where-Object { $_ -is [CodeBlock] }
29+
$codeBlocks = [Markdig.Syntax.MarkdownObjectExtensions]::Descendants($md.Tokens) | Where-Object { $_ -is [Markdig.Syntax.CodeBlock] }
3130
if ($codeBlocks) {
3231
$scriptAst = $codeBlocks | Select-Object -First 1
3332
$script = $scriptAst.Lines.ToString()

0 commit comments

Comments
 (0)