Skip to content

Commit

Permalink
npmconf: add braces missing from 5d7f704
Browse files Browse the repository at this point in the history
  • Loading branch information
charmander authored and othiym23 committed Apr 3, 2015
1 parent f5bac24 commit 91f5cb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/config/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ function load () {
loading = true

cb = once(function (er, conf) {
if (!er)
if (!er) {
exports.loaded = conf
loading = false
}
loadCbs.forEach(function (fn) {
fn(er, conf)
})
Expand Down

0 comments on commit 91f5cb1

Please sign in to comment.