Skip to content

Commit

Permalink
feat: add lib export to use nopt in non-global mode (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys authored Jan 6, 2023
1 parent ce918b9 commit 6830137
Show file tree
Hide file tree
Showing 4 changed files with 546 additions and 505 deletions.
6 changes: 6 additions & 0 deletions lib/debug.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/* istanbul ignore next */
module.exports = process.env.DEBUG_NOPT || process.env.NOPT_DEBUG
? function () {
console.error.apply(console, arguments)
}
: function () {}
Loading

0 comments on commit 6830137

Please sign in to comment.