feat(core): 将goog.get接口调整为goog.readJsonSync以指示其同步操作特性
This commit is contained in:
@@ -18,8 +18,8 @@ const fs = Mixly.require('fs');
|
||||
|
||||
class WikiGenerator {
|
||||
static {
|
||||
this.WIKI_PAGE_FILE = goog.get(path.join(Env.templatePath, 'markdown/wiki-page-file.md'));
|
||||
this.WIKI_PAGE_DIR = goog.get(path.join(Env.templatePath, 'markdown/wiki-page-dir.md'));
|
||||
this.WIKI_PAGE_FILE = goog.readFileSync(path.join(Env.templatePath, 'markdown/wiki-page-file.md'));
|
||||
this.WIKI_PAGE_DIR = goog.readFileSync(path.join(Env.templatePath, 'markdown/wiki-page-dir.md'));
|
||||
}
|
||||
|
||||
#$xml_ = null;
|
||||
|
||||
Reference in New Issue
Block a user