Missing await causes true evaluation
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript, typescript
- 領域
- api
研究方向
先定位 isEnabled 的實作以及任何相關的使用處或測試,然後重現 issue 中所示的條件。除了指出 missing-await 問題之外,issue 沒有提供目標行為,因此需要在實作之前釐清預期的解決方案和完成標準。
由索引模型根據 Issue 內容生成。
描述
if (temp.isEnabled("foo")) {
button.className = "cool";
button.textContent = "Cool Button";
} else {
button.className = "lame";
button.textContent = "Lame Button";
}
We will always run the "cool" path here, because I didn't put an await on the isEnabled call. I think this is bad.
- 主要語言
- TypeScript
- 星號
- 19
- 分支
- 6
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 4
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/FeatureManagement-JavaScript 的其他 Issue
-
Contributor 未關閉
難度 5/5 一週以上 新手友好度 15/100
microsoft/FeatureManagement-JavaScript#141 · 2 則留言 · 2 個 reaction ·
-
microsoft/FeatureManagement-JavaScript#89 · 1 則留言 · 已指派 1 人 ·
-
microsoft/FeatureManagement-JavaScript#32 · 已指派 1 人 ·
-
microsoft/FeatureManagement-JavaScript#31 · 已指派 1 人 ·
-
難度 4/5 3-5 天 新手友好度 25/100
microsoft/FeatureManagement-JavaScript#20 · 1 則留言 · 1 個 reaction ·
查看 microsoft/FeatureManagement-JavaScript 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 95/100
-
難度 2/5 1-3 小時 新手友好度 78/100
Automattic/studio#4908 ·
-
難度 2/5 1-3 小時 新手友好度 90/100
-
help wanted
難度 2/5 1-3 小時 新手友好度 72/100
hemilabs/ui-monorepo#2332 ·