Skip to content

Commit

Permalink
Merge 4dc3f36 into 0dc432d
Browse files Browse the repository at this point in the history
  • Loading branch information
lilsweetcaligula committed May 10, 2021
2 parents 0dc432d + 4dc3f36 commit 41935bd
Show file tree
Hide file tree
Showing 5 changed files with 1,113 additions and 2,315 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]
}

0 comments on commit 41935bd

Please sign in to comment.