Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: reduce code complexity#10120

Merged
sushantdhiman merged 1 commit intosequelize:masterfrom
SimonSchick:chore/optimize-2
Nov 12, 2018
Merged

refactor: reduce code complexity#10120
sushantdhiman merged 1 commit intosequelize:masterfrom
SimonSchick:chore/optimize-2

Conversation

@SimonSchick
Copy link
Contributor

@SimonSchickSimonSchick commentedNov 4, 2018
edited
Loading

Pull Request check-list

Please make sure to review and check all of these items:

  • Doesnpm run test ornpm run test-DIALECT pass with this change (including linting)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Have you added new tests to prevent regressions?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?
  • Did you follow the commit message conventions explained inCONTRIBUTING.md?

Description of change

  • Cleanups remainingelse (if)'s with linter help.
  • Fixed various lint warnings and made them errors so they don't come back
  • Removed some dead node 0.10.x support snippet
  • Replace.npmignore withfiles inpackage.json and exclude all redundant files for use.

On another note, is there a reason you callError.captureStackTrace(this, this.constructor); on all error errors?
Are you doing to to prevent it from capturing the first stack frame?

This will be my last code cleanup PR until v5 is out.

@codecov
Copy link

codecovbot commentedNov 4, 2018
edited
Loading

Codecov Report

Merging#10120 intomaster willincrease coverage by0.01%.
The diff coverage is86.72%.

Impacted file tree graph

@@            Coverage Diff             @@##           master   #10120      +/-   ##==========================================+ Coverage   96.33%   96.35%   +0.01%==========================================  Files          63       63                Lines        9431     9426       -5     ==========================================- Hits         9085     9082       -3+ Misses        346      344       -2
Impacted FilesCoverage Δ
lib/associations/belongs-to-many.js97.68% <0%> (+0.64%)⬆️
lib/query-interface.js89.56% <0%> (ø)⬆️
lib/dialects/abstract/connection-manager.js90% <100%> (ø)⬆️
lib/dialects/mssql/query-generator.js95.83% <100%> (ø)⬆️
lib/associations/has-many.js97.64% <100%> (-0.03%)⬇️
lib/dialects/sqlite/query-interface.js100% <100%> (ø)⬆️
lib/utils/validator-extras.js97.56% <100%> (ø)⬆️
lib/dialects/sqlite/query.js98.75% <100%> (ø)⬆️
lib/sql-string.js91.17% <100%> (ø)⬆️
...dialects/abstract/query-generator/helpers/quote.js94.44% <100%> (ø)⬆️
... and14 more

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updateb896ba4...76231aa. Read thecomment docs.

@SimonSchick
Copy link
ContributorAuthor

Hey@sushantdhiman you think we can get my last 2 PRs in before v5 goes live? :)

Copy link
Contributor

@sushantdhimansushantdhiman left a comment

Choose a reason for hiding this comment

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

Some changes otherwise LGTM

@SimonSchick
Copy link
ContributorAuthor

done

@sushantdhimansushantdhiman merged commitc1ac543 intosequelize:masterNov 12, 2018
@sushantdhiman
Copy link
Contributor

Thanks@SimonSchick

@SimonSchickSimonSchick deleted the chore/optimize-2 branchMarch 9, 2019 11:04
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@sushantdhimansushantdhimansushantdhiman left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@SimonSchick@sushantdhiman

[8]ページ先頭

©2009-2026 Movatter.jp