Added missing code block language in docs (#147481)
- added language for all code blocks - replaced `bash` or `shell` with `sh` for consistency. - added `sh` and `console` in the GitHub template link generator. - updated test for GitHub template.
This commit is contained in:
@@ -85,7 +85,7 @@ class GitHubTemplateCreator {
|
||||
final String title = '[tool_crash] $errorString';
|
||||
final String body = '''
|
||||
## Command
|
||||
```
|
||||
```sh
|
||||
$command
|
||||
```
|
||||
|
||||
@@ -96,10 +96,10 @@ $command
|
||||
|
||||
## Logs
|
||||
$errorString
|
||||
```
|
||||
```console
|
||||
${LineSplitter.split(stackTrace.toString()).take(25).join('\n')}
|
||||
```
|
||||
```
|
||||
```console
|
||||
$doctorText
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user