mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 08:48:09 +00:00
Codex is right
This commit is contained in:
parent
e453278cb1
commit
ad82b625e1
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ echo "Copying reference documentation from Ruff..."
|
|||
copy_docs() {
|
||||
src="$1"
|
||||
dest="$2"
|
||||
[[ -d "$dest" ]] && dest="$dest/$(basename "$src")"
|
||||
[ -d "$dest" ] && dest="$dest/$(basename "$src")"
|
||||
old_url="/github.com/astral-sh/ruff/blob/main/"
|
||||
new_url="/github.com/astral-sh/ruff/blob/$ruff_commit/"
|
||||
sed "s|$old_url|$new_url|g" "$src" > "$dest"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue