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

feat: warn if some confused configurations exist in config #637

Merged
merged 2 commits into from
Mar 24, 2017

Conversation

dead-horse
Copy link
Member

@dead-horse dead-horse commented Mar 24, 2017

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

closes #620

@dead-horse dead-horse added this to the 1.x milestone Mar 24, 2017
*/
confusedConfigurations: {
bodyparser: 'bodyParser',
notFound: 'notfound',
Copy link
Member

Choose a reason for hiding this comment

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

命令规则好不一致

Copy link
Member

Choose a reason for hiding this comment

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

确实

Copy link
Member Author

Choose a reason for hiding this comment

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

是的,木已成舟。。

Copy link
Member

Choose a reason for hiding this comment

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

还好吧,统一格式,然后兼容下?

Copy link
Member Author

Choose a reason for hiding this comment

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

不想做兼容,以后插件多了也没法全统一的,就这样吧。

@codecov
Copy link

codecov bot commented Mar 24, 2017

Codecov Report

Merging #637 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #637   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          26     26           
  Lines         633    638    +5     
=====================================
+ Hits          633    638    +5
Impacted Files Coverage Δ
config/config.default.js 100% <ø> (ø) ⬆️
lib/application.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 cd8c659...ff705f4. Read the comment docs.

@dead-horse dead-horse merged commit 8c77e59 into master Mar 24, 2017
@dead-horse dead-horse deleted the confused-configurations branch March 24, 2017 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

兼容 config.bodyparser 写法
4 participants