Skip to content

Commit

Permalink
Fix Error: MultiConfigPath is not a constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
segayuu committed Feb 21, 2018
1 parent 2ee787e commit c2ff17e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hexo/index.js
Expand Up @@ -23,14 +23,14 @@ const Theme = require('../theme');
const Locals = require('./locals');
const defaultConfig = require('./default_config');
const loadDatabase = require('./load_database');
const MultiConfigPath = require('./multi_config_path');
const multiConfigPath = require('./multi_config_path');

const libDir = pathFn.dirname(__dirname);
const sep = pathFn.sep;
const dbVersion = 1;

function Hexo(base = process.cwd(), args = {}) {
const mcp = new MultiConfigPath(this);
const mcp = multiConfigPath(this);

EventEmitter.call(this);

Expand Down

0 comments on commit c2ff17e

Please sign in to comment.