Skip to content

Commit

Permalink
fix: config debug scope (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
RasPhilCo authored Sep 14, 2020
1 parent 10c1887 commit be0d001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function displayWarnings() {

export default (...scope: string[]) => {
if (!debug) return (..._: any[]) => {}
const d = debug(['../config', ...scope].join(':'))
const d = debug(['config', ...scope].join(':'))
if (d.enabled) displayWarnings()
return (...args: any[]) => d(...args)
}

0 comments on commit be0d001

Please sign in to comment.