Skip to content
This repository has been archived by the owner on Dec 6, 2021. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Nov 23, 2016
1 parent bb28bc8 commit 7ca1808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const detectFreePort = require('./detect-free-port')
const mergeConfig = require('./merge-config')
const terminalUtils = require('./terminal-utils')
const defaultBabelOptions = require('./webpack/babel-options')
const requireWithContent = require('./require-with-context')
const requireWithContext = require('./require-with-context')

module.exports = co.wrap(function * (options) {
terminalUtils.clearConsole()
Expand All @@ -28,7 +28,7 @@ module.exports = co.wrap(function * (options) {
configFilePath += '.js'
}
if (yield pathExists(configFilePath)) {
fileConfig = yield requireWithContent(configFilePath)
fileConfig = yield requireWithContext(configFilePath)
options.config = configFilePath
} else {
options.config = options.config === undefined ?
Expand Down

0 comments on commit 7ca1808

Please sign in to comment.