Skip to content

Commit

Permalink
feat: add lib export to use nopt in non-global mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Jan 5, 2023
1 parent ce918b9 commit 5334dd4
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 5334dd4

Please # to comment.