@ywfe/fe-tools 1.2.1-beta.39 → 1.2.1-beta.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8783,15 +8783,12 @@ function userInputToJson(_a) {
8783
8783
  function JSON2String(_a) {
8784
8784
  var input = _a.input;
8785
8785
  var data = input.data;
8786
- var result = { content: '' };
8787
8786
  try {
8788
8787
  var str = JSON.stringify(data);
8789
- result.content = '```json' + str + 'json```';
8790
- return result;
8788
+ return '```json' + str + 'json```';
8791
8789
  }
8792
8790
  catch (error) {
8793
- result.content = '```json' + '{}' + 'json```';
8794
- return result;
8791
+ return '```json' + '{}' + 'json```';
8795
8792
  }
8796
8793
  }
8797
8794