Skip to content

refactor: destructure modules#3992

Merged
SukkaW merged 1 commit into
hexojs:masterfrom
SukkaW:style-destructure-modules
Dec 20, 2019
Merged

refactor: destructure modules#3992
SukkaW merged 1 commit into
hexojs:masterfrom
SukkaW:style-destructure-modules

Conversation

@SukkaW

@SukkaW SukkaW commented Dec 19, 2019

Copy link
Copy Markdown
Member

What does it do?

Continuation of #3324 #3940 & #3953

How to test

git clone -b style-destructure-modules https://github.com/sukkaw/hexo.git
cd hexo
npm install
npm test

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@coveralls

coveralls commented Dec 19, 2019

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 97.114% when pulling a58f39c on SukkaW:style-destructure-modules into 1ccc292 on hexojs:master.

@SukkaW SukkaW force-pushed the style-destructure-modules branch from 014f19c to 4276c3d Compare December 19, 2019 15:13
@SukkaW SukkaW requested a review from a team December 19, 2019 15:14
@SukkaW SukkaW force-pushed the style-destructure-modules branch from 4276c3d to 7c9c8e5 Compare December 19, 2019 15:41
@SukkaW SukkaW force-pushed the style-destructure-modules branch from 7c9c8e5 to a58f39c Compare December 19, 2019 15:52
const doc = Page.findOne({source: path});
const { config } = ctx;
const { timezone, use_date_for_updated } = config;
const { timezone: timezoneCfg, use_date_for_updated } = config;

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.

👍

@SukkaW SukkaW merged commit 9b49688 into hexojs:master Dec 20, 2019
thom4parisot referenced this pull request in thom4parisot/hexo Jan 17, 2020
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.

3 participants