mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fallback to empty string piped value if null or undefined
This commit is contained in:
@@ -187,7 +187,7 @@ export class SlashCommandClosure {
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.scope.pipe = await executor.command.callback(args, value);
|
this.scope.pipe = await executor.command.callback(args, value ?? '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**@type {SlashCommandClosureResult} */
|
/**@type {SlashCommandClosureResult} */
|
||||||
|
Reference in New Issue
Block a user