Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
微小的工作
  • Loading branch information
1v9 committed Oct 15, 2019
commit efd93dbae7dba993aeb80a2e4309e698b08df3df
2 changes: 1 addition & 1 deletion scripts/events/lib/injects.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = hexo => {

// Inject stylus, and get absolute path base on hexo dir.
points.styles.forEach(type => {
hexo.theme.config.injects[type] = injects[type].files.map((item) => path.resolve(hexo.base_dir, item));
hexo.theme.config.injects[type] = injects[type].files.map(item => path.resolve(hexo.base_dir, item));
});

// Inject views
Expand Down