You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
I'm rolling out a new lint check and discovered some suspicious code in promise.ts. In the above snippets, null is always falsy, so it is ignored. It can be simplified to simply promise = resolve(value) or promise = reject(value).
The text was updated successfully, but these errors were encountered:
zone.js/lib/common/promise.ts
Line 296 in 9ed5712
zone.js/lib/common/promise.ts
Line 299 in 9ed5712
I'm rolling out a new lint check and discovered some suspicious code in promise.ts. In the above snippets,
null
is always falsy, so it is ignored. It can be simplified to simplypromise = resolve(value)
orpromise = reject(value)
.The text was updated successfully, but these errors were encountered: