Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

fix: respect log level for cache clear #830

Merged
merged 1 commit into from
Sep 28, 2017

Conversation

calebboyd
Copy link
Contributor

No description provided.

src/Log.ts Outdated
if (this.printLog) {
Log.deferred.forEach(x => x(this))
}
Log.deferred.length = 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't it better to reset the array?

Log.deferred = []

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has the same effect, I can change it: changed

Copy link
Contributor

@nchanged nchanged left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nchanged nchanged merged commit 2d8131f into fuse-box:master Sep 28, 2017
@calebboyd calebboyd deleted the no-cache-cleared-log branch September 28, 2017 18:58
@calebboyd calebboyd mentioned this pull request Oct 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants