permaweb / aos

An operating system for AO: The hyper parallel computer
https://ao.g8way.io
Other
68 stars 46 forks source link

bug(Result.Output.data): handle legacy processes that return result.Output.data.output` #307

Closed twilson63 closed 4 weeks ago

twilson63 commented 1 month ago

Older Processes will return data.output instead of data, handle the bug when the eval result is returned to

show just the output and not

{
  json: 'undefined',
  output: 0,
  prompt: '\x1B[32mtrinity\x1B[90m@\x1B[34maos-0.2.1\x1B[90m[Inbox:\x1B[31m9201\x1B[90m]\x1B[0m> '
}