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:
@@ -165,15 +165,15 @@ For example To remove a published package corresponding to the git hash
|
||||
`d444a455de87a2e40b7f576dc12ffd9ab82fd491`, first do a dry run of the script to
|
||||
see what it will do:
|
||||
|
||||
```
|
||||
$ dart ./unpublish_package.dart --temp_dir=/tmp/foo --revision d444a455de87a2e40b7f576dc12ffd9ab82fd491
|
||||
```sh
|
||||
dart ./unpublish_package.dart --temp_dir=/tmp/foo --revision d444a455de87a2e40b7f576dc12ffd9ab82fd491
|
||||
```
|
||||
|
||||
And once you've verified the output of the dry run to be sure it is what you
|
||||
want to do, run:
|
||||
|
||||
```
|
||||
$ dart ./unpublish_package.dart --confirm --temp_dir=/tmp/foo --revision d444a455de87a2e40b7f576dc12ffd9ab82fd491
|
||||
```sh
|
||||
dart ./unpublish_package.dart --confirm --temp_dir=/tmp/foo --revision d444a455de87a2e40b7f576dc12ffd9ab82fd491
|
||||
```
|
||||
|
||||
and it will perform the actions. You will of course need to have access
|
||||
|
||||
Reference in New Issue
Block a user