Skip to content

Commit

Permalink
Update: テストのスナップショットを更新
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukumijima committed Dec 9, 2024
1 parent d057d5e commit 48541dd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion voicevox_engine/preset/preset_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, preset_path: Path):
old_preset_path = engine_root() / "presets.yaml"
if old_preset_path.exists():
try:
shutil.move(old_preset_path, self.preset_path)
shutil.copyfile(old_preset_path, self.preset_path)
except OSError:
warnings.warn(
"プリセットファイルのマイグレーションに失敗しました",
Expand Down

0 comments on commit 48541dd

Please sign in to comment.