Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Upgrade to flow 0.41#2462

Merged
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
arthur801031:new-flow-0.41
Mar 27, 2017
Merged

Upgrade to flow 0.41#2462
jasonLaster merged 2 commits into
firefox-devtools:masterfrom
arthur801031:new-flow-0.41

Conversation

@arthur801031

Copy link
Copy Markdown
Contributor

Associated Issue: #2293

Summary of Changes

Update the following files to pass flow:

  • Editor/SearchBar.js
  • Editor/index.js
  • SecondaryPanes/CommandBar.js
  • shared/Autocomplete.js

Test Plan

Pass

  • yarn run flow
  • yarn run test
  • yarn run lint

// overwrite searchContents with a debounced version to reduce the
// frequency of queries which improves perf on large files
// $FlowIgnore
this.searchContents = debounce(this.searchContents, 100);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @jasonLaster

Here I disable flow to suppress the error. Are we okay with this approach?
screen shot 2017-03-27 at 3 16 43 pm

@codecov

codecov Bot commented Mar 27, 2017

Copy link
Copy Markdown

Codecov Report

Merging #2462 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2462   +/-   ##
=======================================
  Coverage   54.43%   54.43%           
=======================================
  Files          52       52           
  Lines        2017     2017           
  Branches      391      391           
=======================================
  Hits         1098     1098           
  Misses        919      919

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a1e0b26...ade4be3. Read the comment docs.

@jasonLaster jasonLaster left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Wow! Really great. Thanks @arthur801031

@jasonLaster jasonLaster merged commit 76060cc into firefox-devtools:master Mar 27, 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.

2 participants