Closed Svtter closed 9 years ago
Hexo 3.0 change hexo.file to require('hexo-fs') and need to install hexo-fs to make sure it works.
hexo.file
require('hexo-fs')
I write some code for this reason, but I deem it not the best way to solve this problem.
//var file = hexo.file; var file = require('hexo-fs');
@Svtter Thanks for @ntalbs. He has fixed the bug and now you may have a try. Thanks for your feedback!
Hexo 3.0 change
hexo.file
torequire('hexo-fs')
and need to install hexo-fs to make sure it works.I write some code for this reason, but I deem it not the best way to solve this problem.