mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-20 02:55:08 +08:00
docs: replace prints with logger in upload_doc_images_to_r2.py
This commit is contained in:
1
scripts/fw2hw.sh
Normal file
1
scripts/fw2hw.sh
Normal file
@@ -0,0 +1 @@
|
||||
find . -name "*.py" -exec sh -c 'uconv -x "Fullwidth-Halfwidth" "$1" > "$1.tmp" && mv "$1.tmp" "$1"' _ {} \;
|
||||
@@ -74,5 +74,5 @@ class CustomBuildHook(BuildHookInterface):
|
||||
shutil.rmtree(dist_target)
|
||||
shutil.copytree(dist_src, dist_target)
|
||||
logger.info(
|
||||
f"[hatch_build] Dashboard dist copied → {dist_target.relative_to(root)}"
|
||||
f"[hatch_build] Dashboard dist copied → {dist_target.relative_to(root)}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user