Add missing await on supportedLocale call
Assisted-by: Claude Opus 4.6 via pi
change vzsswssttvkrxzxtmppquvprqoqvkxts
commit 32c79e6f27df236a660998248c57878f702c4aaf
author Alpha Chen <alpha@kejadlen.dev>
date
parent kwrltryn
diff --git a/sous_chef/Sources/SousChef.swift b/sous_chef/Sources/SousChef.swift
index 8c75d7f..578731c 100644
--- a/sous_chef/Sources/SousChef.swift
+++ b/sous_chef/Sources/SousChef.swift
@@ -20,7 +20,7 @@ struct SousChef: AsyncParsableCommand {
         let outputURL = URL(fileURLWithPath: output)
 
         // Set up the transcriber.
-        guard let locale = SpeechTranscriber.supportedLocale(equivalentTo: Locale(identifier: "en-US")) else {
+        guard let locale = await SpeechTranscriber.supportedLocale(equivalentTo: Locale(identifier: "en-US")) else {
             throw TranscriptionError.unsupportedLocale
         }
         let transcriber = SpeechTranscriber(locale: locale, preset: .timeIndexedTranscriptionWithAlternatives)