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: create fn title with mock file list of correct length #710

Merged
merged 2 commits into from Oct 8, 2019

Conversation

iiroj
Copy link
Member

@iiroj iiroj commented Oct 4, 2019

I made a mistake on #706 where the title for function tasks is generated by creating a mock array of filenames with the length of the matched functions, when it instead should be the the length of the staged files array. This causes failures with function linters in some situations.

Should fix the problem reported by @VitorLuizC in #706 (comment).

@codecov
Copy link

codecov bot commented Oct 4, 2019

Codecov Report

Merging #710 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #710      +/-   ##
==========================================
+ Coverage   99.67%   99.67%   +<.01%     
==========================================
  Files          11       11              
  Lines         307      309       +2     
  Branches       63       64       +1     
==========================================
+ Hits          306      308       +2     
  Misses          1        1
Impacted Files Coverage Δ
src/makeCmdTasks.js 100% <100%> (ø) ⬆️

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 8ec040c...2259cd8. Read the comment docs.

@iiroj iiroj requested a review from okonet October 4, 2019 15:25
@okonet okonet merged commit 403f80b into master Oct 8, 2019
@okonet
Copy link
Collaborator

okonet commented Oct 8, 2019

🎉 This PR is included in version 9.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@okonet okonet added the released label Oct 8, 2019
@iiroj iiroj deleted the fn-task-title-fix branch October 11, 2019 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

None yet

3 participants