Skip to content

Commit

Permalink
Merge 9765463 into 0dc432d
Browse files Browse the repository at this point in the history
  • Loading branch information
lilsweetcaligula committed May 10, 2021
2 parents 0dc432d + 9765463 commit 1341fd2
Show file tree
Hide file tree
Showing 5 changed files with 999 additions and 2,314 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ node_modules

docs/annotated
docs/coverage.html
package-lock.json
7 changes: 7 additions & 0 deletions lib/common.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
exports.fetchProp = function (o, prop) {
if (!(prop in o)) {
throw new Error(`Missing property: ${prop}`)
}

return o[prop]
}
Loading

0 comments on commit 1341fd2

Please sign in to comment.