File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ update:
2727insert-example :
2828 ./scripts/insert-example.bash
2929
30+ .PHONY : format-doc
31+ format-doc :
32+ # Trim trailing empty line
33+ sed -i -e ' $${/^$$/d;}' README.md
34+
3035.PHONY : after-gen
31- after-gen : format insert-example
36+ after-gen : format insert-example format-doc
3237 ./scripts/add-deprecation-warnings.bash
Original file line number Diff line number Diff line change @@ -139,4 +139,3 @@ Class | Method | HTTP request | Description
139139- [ RecognizeBase64Request] ( docs/Model/RecognizeBase64Request.md )
140140- [ RegionPoint] ( docs/Model/RegionPoint.md )
141141- [ ScanBase64Request] ( docs/Model/ScanBase64Request.md )
142-
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def sub_match(match):
2020 return read_text (file_name )
2121
2222 text = REPLACE_RE .sub (sub_match , content )
23- print (text )
23+ print (text , end = "" )
2424
2525
2626def parse_args () -> typing .Dict [str , typing .Any ]:
You can’t perform that action at this time.
0 commit comments