Skip to content

Commit

Permalink
Regenerate baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
jeskew committed Dec 27, 2024
1 parent da6cff1 commit 2c339b9
Show file tree
Hide file tree
Showing 50 changed files with 1,048 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/Bicep.Core.Samples/Files/baselines/Functions/sys.json
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,25 @@
"stringToFind: string"
]
},
{
"name": "fail",
"description": "Raises a runtime error with the provided message. Will cause a deployment to fail when evaluated.",
"fixedParameters": [
{
"name": "message",
"description": "The error message to use.",
"type": "string",
"required": true
}
],
"minimumArgumentCount": 1,
"maximumArgumentCount": 1,
"flags": "default",
"typeSignature": "(message: string): never",
"parameterTypeSignatures": [
"message: string"
]
},
{
"name": "filter",
"description": "Filters an array with a custom filtering function.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fakeFunc",
"kind": "variable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "filter",
"kind": "function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "filter",
"kind": "function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1006,6 +1006,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "filter",
"kind": "function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "filter",
"kind": "function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "false",
"kind": "keyword",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "filter",
"kind": "function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "filter",
"kind": "function",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fatalErrorInIssue1713",
"kind": "field",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "false",
"kind": "keyword",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fatalErrorInIssue1713",
"kind": "field",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fatalErrorInIssue1713",
"kind": "field",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2352,6 +2352,27 @@
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "fail",
"kind": "function",
"documentation": {
"kind": "markdown",
"value": "```bicep\nfail(message: string): never\n\n``` \nRaises a runtime error with the provided message. Will cause a deployment to fail when evaluated. \n"
},
"deprecated": false,
"preselect": false,
"sortText": "3_fail",
"insertTextFormat": "snippet",
"insertTextMode": "adjustIndentation",
"textEdit": {
"range": {},
"newText": "fail($0)"
},
"command": {
"title": "signature help",
"command": "editor.action.triggerParameterHints"
}
},
{
"label": "filter",
"kind": "function",
Expand Down
Loading

0 comments on commit 2c339b9

Please sign in to comment.