hexo icon indicating copy to clipboard operation
hexo copied to clipboard

fix(#1099): hexo server error when changing the config

Open D-Sketon opened this issue 2 years ago • 3 comments

What does it do?

Fix #1099.

When new_post_name lacks :title, new_post_name is used as the slug.

Screenshots

None.

Pull request tasks

  • [x] Add test cases for the changes.
  • [x] Passed the CI test.

D-Sketon avatar Sep 09 '22 04:09 D-Sketon

How to test

git clone -b new_feature https://github.com/D-Sketon/hexo.git
cd hexo
npm install
npm test

github-actions[bot] avatar Sep 09 '22 04:09 github-actions[bot]

Coverage Status

Coverage decreased (-0.05%) to 98.329% when pulling 255ea82f9204c445573ce03dd9c680914df2586f on D-Sketon:new_feature into 4d42d9d9345514828e60f5987fc054e9bedcac7b on hexojs:master.

coveralls avatar Sep 09 '22 06:09 coveralls

Could you please add test cases for the changes?

@renbaoshuo New test cases have been added

D-Sketon avatar Sep 09 '22 07:09 D-Sketon