mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
fix: update truncation message for long output in RunCode component
This commit is contained in:
@@ -66,7 +66,7 @@ const RunCode = defineComponent({
|
||||
}
|
||||
|
||||
if (value.length > 32 * 1024) {
|
||||
value = '------Output too long, truncated to 32KB------\n' + value.slice(-32 * 1024)
|
||||
value = '------Output too long, truncated to 32K------\n' + value.slice(-32 * 1024)
|
||||
}
|
||||
|
||||
result.value = value
|
||||
|
||||
Reference in New Issue
Block a user