mirror of
https://github.com/codecov/codecov-action
synced 2026-05-20 05:00:10 +03:00
fix: Hack to force asn1.js
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
module.exports = assert;
|
||||
|
||||
function assert(val, msg) {
|
||||
if (!val)
|
||||
throw new Error(msg || 'Assertion failed');
|
||||
}
|
||||
|
||||
assert.equal = function assertEqual(l, r, msg) {
|
||||
if (l != r)
|
||||
throw new Error(msg || ('Assertion failed: ' + l + ' != ' + r));
|
||||
};
|
||||
Reference in New Issue
Block a user