Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix registerCustomWatcher to allow nulls #107

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

michalt
Copy link
Contributor

@michalt michalt commented Jan 7, 2021

The idea behind the closures passed to registerCustomWatcher is that
they should return null if the particular implementation does not
support the provided path (in which case we should fallback to other
implementations).

I've modified a test to check this.

The idea behind the closures passed to `registerCustomWatcher` is that
they should return `null` if the particular implementation does not
support the provided path (in which case we should fallback to other
implementations).

I've modified a test to check this.
@michalt michalt requested a review from natebosch January 7, 2021 12:17
@google-cla google-cla bot added the cla: yes label Jan 7, 2021
Copy link
Member

@natebosch natebosch left a comment

Choose a reason for hiding this comment

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

Sorry for missing this during the migration. Thanks for fixing the test!

@natebosch natebosch merged commit 1470614 into dart-lang:master Jan 7, 2021
mosuem pushed a commit to dart-lang/tools that referenced this pull request Dec 11, 2024
The idea behind the closures passed to `registerCustomWatcher` is that
they should return `null` if the particular implementation does not
support the provided path (in which case we should fallback to other
implementations).

Modified a test to check this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants