-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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(load_plugins): ignore hexo-theme-[config.theme] #4111
Conversation
86f32df
to
0f37309
Compare
0f37309
to
4be9a99
Compare
4be9a99
to
41cff3d
Compare
test/scripts/hexo/load_plugins.js
Outdated
@@ -128,6 +128,23 @@ describe('Load plugins', () => { | |||
}); | |||
}); | |||
|
|||
it('ignore plugin whose name is "hexo-theme-[hexo.config.theme]"', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggest new tests to use async.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to async and rebased.
41cff3d
to
991fcb6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
BTW, we should create the plugins option document. I can't find any document of it.
PS The Appveyor build was failed. But, my local PC (Windows node 13.0.1) test was passed. |
I believe the issue is related with Windows file system problem. |
What does it do?
The part of #3890
#3890 (comment)
How to test
Screenshots
Pull request tasks