Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
path:
laf/runtimes/nodejs/src/handler/invoke.ts
在函数返回null的时候会报错。
![image](https://private-user-images.githubusercontent.com/51100990/282487840-1a851a6e-b796-4b4e-8523-4a5d525f6a6d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODU4NzQsIm5iZiI6MTcyNDY4NTU3NCwicGF0aCI6Ii81MTEwMDk5MC8yODI0ODc4NDAtMWE4NTFhNmUtYjc5Ni00YjRlLTg1MjMtNGE1ZDUyNWY2YTZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE1MTkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkZGM2MzBmZjA1ZDQxZjRlN2FmNTc2ZjMyYWVhMTE3MzJkNTc1NTU2ODM1Mjc1YjI3N2RkNDk2YTY2MWQ4YWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gPjhNb774jm3h7nCK5ApTqrKr90HKTZjxD8O5ii3fx4)
![image](https://private-user-images.githubusercontent.com/51100990/282487593-0114a525-d9a9-4382-901d-0837b549c875.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODU4NzQsIm5iZiI6MTcyNDY4NTU3NCwicGF0aCI6Ii81MTEwMDk5MC8yODI0ODc1OTMtMDExNGE1MjUtZDlhOS00MzgyLTkwMWQtMDgzN2I1NDljODc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE1MTkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliZGYwZmQ3NjY0MDQxNDUzZmUxZDU5YTgwZjk4Yjc1MzdiNTU5MzM5MTFkNThkZDE1NmJjYjUxOWExZWYyNWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.eW--PbABCeGk37DMoqdutJMopn26O-UjRlIylEc7l3k)
![image](https://private-user-images.githubusercontent.com/51100990/282487718-cf1a3c7a-c93d-40c2-a7a8-0df9f84ffb97.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2ODU4NzQsIm5iZiI6MTcyNDY4NTU3NCwicGF0aCI6Ii81MTEwMDk5MC8yODI0ODc3MTgtY2YxYTNjN2EtYzkzZC00MGMyLWE3YTgtMGRmOWY4NGZmYjk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI2VDE1MTkzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4MGViY2E0NDJkNmRiZTIyNDFlMWJhNTU3MzYwZjhjMWM3OTA1ZTBlY2VmYjMwZWYxYTNhMGQwOWYwODZjM2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.yecEiWNd55f1O4YgvUI-bwnNGS5hguzbfxxFfwrfO18)