Skip to content

Commit e00c233

Browse files
authored
Merge branch 'main' into feature/esql-language-support
2 parents 55f6534 + f939f9d commit e00c233

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

.github/workflows/preview-build.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
- opened
77
- synchronize
88
- reopened
9-
- labeled
10-
- unlabeled
119
push:
1210
branches:
1311
- main
@@ -114,13 +112,8 @@ jobs:
114112
115113
- name: Bootstrap Action Workspace
116114
if: github.repository == 'elastic/docs-builder' && steps.deployment.outputs.result
117-
118115
uses: ./.github/actions/bootstrap
119116

120-
- name: Set REDESIGN feature flag
121-
if: contains(github.event.pull_request.labels.*.name, 'redesign') && steps.deployment.outputs.result
122-
run: echo "REDESIGN=true" >> $GITHUB_ENV
123-
124117
# we run our artifact directly please use the prebuild
125118
# elastic/docs-builder@main GitHub Action for all other repositories!
126119
- name: Build documentation

src/Elastic.Markdown/Myst/InlineParsers/DiagnosticLinkInlineParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private bool ValidateBasicUrl(LinkInline link, InlineProcessor processor, string
119119
{
120120
if (string.IsNullOrEmpty(url))
121121
{
122-
processor.EmitError(link, "Found empty url");
122+
processor.EmitWarning(link, "Found empty url");
123123
return false;
124124
}
125125

tests/authoring/Inline/InlineLinks.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ type ``empty link should result in an error`` () =
5454
"""
5555

5656
[<Fact>]
57-
let ``has no errors`` () = markdown |> hasError "Found empty url"
57+
let ``should warn`` () = markdown |> hasWarning "Found empty url"
5858

5959
[<Fact>]
60-
let ``has warning`` () = markdown |> hasNoWarnings
60+
let ``has no erros`` () = markdown |> hasNoErrors

0 commit comments

Comments
 (0)