Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publicディレクトリに配置しているファイルのファイル名を定数に切り出す #1342

Merged
merged 3 commits into from
Jun 20, 2023

Conversation

yamachu
Copy link
Contributor

@yamachu yamachu commented Jun 19, 2023

内容

ブラウザ版の実装にあたり、public に配置しているファイルの読み込み処理の実装が必要になった。
もしも public に配置しているファイル名が変わった場合、2箇所の変更が必要になるため、定数に切り出し、その値を使うようにリファクタリングを行った。

関連 Issue

ref #1204

スクリーンショット・動画など

その他

@yamachu yamachu requested a review from a team as a code owner June 19, 2023 17:20
@yamachu yamachu requested review from Hiroshiba and removed request for a team June 19, 2023 17:20
Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

1点コメントの答えいただいたらマージします!

src/type/staticResources.ts Outdated Show resolved Hide resolved
yamachu and others added 2 commits June 20, 2023 12:09
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
@Hiroshiba
Copy link
Member

マージします!!

@Hiroshiba Hiroshiba merged commit d48c438 into VOICEVOX:main Jun 20, 2023
4 checks passed
@yamachu yamachu deleted the misc/file-name-to-const branch June 20, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants