Skip to content

Commit

Permalink
Fix: basenameをやめる
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Dec 31, 2024
1 parent 17a3e5b commit 155f9ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/singing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3540,7 +3540,8 @@ export const singingStore = createPartialStore<SingingStoreTypes>({
return { result: "CANCELED", path: "" };
}
filePath = await generateUniqueFilePath(
path.basename(filePath, `.${extension}`),
// 拡張子を除いたファイル名を取得
filePath.slice(0, -(extension.length + 1)),
extension,
);

Expand Down

0 comments on commit 155f9ca

Please sign in to comment.