Skip to content

Commit

Permalink
Fixes #358: add better JSdocs. Fixes issue with match method & enhanc…
Browse files Browse the repository at this point in the history
…es path method
  • Loading branch information
webketje committed Jan 4, 2022
1 parent cce1558 commit 828b17e
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 50 deletions.
4 changes: 4 additions & 0 deletions lib/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ function isObject(o) {
function isString(s) {
return typeof s === 'string'
}
function isUndefined(u) {
return typeof u === 'undefined'
}

/**
* Recursively remove a directory
Expand Down Expand Up @@ -52,6 +55,7 @@ const helpers = {
isNumber,
isString,
isObject,
isUndefined,
rm
}

Expand Down
Loading

0 comments on commit 828b17e

Please sign in to comment.