forked from waja/action-debian-package
update
This commit is contained in:
parent
d9becc67b6
commit
9308795b8b
964 changed files with 104265 additions and 16 deletions
15
node_modules/ramda/src/internal/_assertPromise.js
generated
vendored
Normal file
15
node_modules/ramda/src/internal/_assertPromise.js
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
var _isFunction =
|
||||
/*#__PURE__*/
|
||||
require("./_isFunction");
|
||||
|
||||
var _toString =
|
||||
/*#__PURE__*/
|
||||
require("./_toString");
|
||||
|
||||
function _assertPromise(name, p) {
|
||||
if (p == null || !_isFunction(p.then)) {
|
||||
throw new TypeError('`' + name + '` expected a Promise, received ' + _toString(p, []));
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = _assertPromise;
|
Loading…
Add table
Add a link
Reference in a new issue