UNPKG
@tonyo/alpaga
Version:
latest (0.1.4)
0.1.4
0.1.3
0.1.2
0.1.1
Test package
github.com/tonyo/alpaga
tonyo/alpaga
@tonyo/alpaga
/
tmp
/
node-v10.15.0-win-x86
/
node_modules
/
npm
/
lib
/
install
/
and-ignore-errors.js
10 lines
(8 loc)
•
213 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
'use strict'
module
.
exports
=
function
(
cb
) {
return
function
(
) {
var
args =
Array
.
prototype
.
slice
.
call
(
arguments
,
1
)
if
(args.
length
) args.
unshift
(
null
)
return
cb.
apply
(
null
, args) } }