MCPcopy Index your code
hub / github.com/darkreader/darkreader / assert

Function assert

tasks/integrity.js:10–14  ·  view source on GitHub ↗
(claim)

Source from the content-addressed store, hash-verified

8const tmpDirParent = `${tmpdir()}/darkreader-integrity`;
9
10function assert(claim) {
11 if (!claim) {
12 throw new Error('Assertion failed');
13 }
14}
15
16async function firefoxFetchAllReleases() {
17 try {

Callers 4

getFileNameFunction · 0.85
getFileCountFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected