fix: set feedback type

Philipp Burckhardt 2023-06-16 14:57:55 -04:00
rodzic 5875a8858f
commit 5a32b6140b
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A2C3BCA4F31D1DDD
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -221,7 +221,9 @@ export abstract class HumanFeedbackMechanism<
? HumanFeedbackUserActions.Select
: await this._askUser(msg, choices)
const feedback: Record<string, any> = {}
const feedback: Record<string, any> = {
type: this._options.type
}
switch (choice) {
case HumanFeedbackUserActions.Accept: