alibaba / alibaba/lowcode-engine
引擎未正确抛出错误信息
Open
Beginner friendly
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
**引擎未正确抛出错误信息**
代码地址:
https://github.com/alibaba/lowcode-engine/blob/main/packages/shell/src/api/material.ts
地36行
是不是应该改成:
if (!workspace.window?.editor) {.....
加个问号好一点啊
Contributor guide
No contributing guide indexed for this repository
Research direction
Open packages/shell/src/api/material.ts and inspect the code around line 36, especially the error path involving workspace.window.editor. Verify the reported failure when editor is absent, then confirm the guarded access prevents the incorrect error without changing normal behavior. Done means the relevant scenario no longer throws incorrectly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100