Fix formatting
This commit is contained in:
parent
50db0457be
commit
6ce4a0b563
1 changed files with 7 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ export async function getPrompt(
|
|||
const stringArgs: Record<string, string> = {};
|
||||
if (args) {
|
||||
for (const [key, value] of Object.entries(args)) {
|
||||
if (typeof value === 'string') {
|
||||
if (typeof value === "string") {
|
||||
stringArgs[key] = value;
|
||||
} else if (value === null || value === undefined) {
|
||||
stringArgs[key] = String(value);
|
||||
|
|
|
|||
Loading…
Reference in a new issue