Skip to content

Commit

Permalink
fix: getConfigExporer typo (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed May 20, 2020
1 parent 36de203 commit 6c2bf2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Expand Up @@ -20,7 +20,7 @@ class MacroError extends Error {
}

let _configExplorer = null
function getConfigExporer() {
function getConfigExplorer() {
return (_configExplorer =
_configExplorer ||
// Lazy load cosmiconfig since it is a relatively large bundle
Expand Down Expand Up @@ -263,7 +263,7 @@ function applyMacros({

function getConfigFromFile(configName, filename) {
try {
const loaded = getConfigExporer().search(filename)
const loaded = getConfigExplorer().search(filename)

if (loaded) {
return {
Expand Down

0 comments on commit 6c2bf2a

Please sign in to comment.