mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
Changed setImmediate from async library to node default.
This commit is contained in:
parent
b4195b15c6
commit
11742db503
@ -45,7 +45,7 @@ module.exports = function(config, auth, storage) {
|
||||
packages,
|
||||
function(pkg, cb) {
|
||||
auth.allow_access(pkg.name, req.remote_user, function(err, allowed) {
|
||||
async.setImmediate(function() {
|
||||
setImmediate(function() {
|
||||
if (err) {
|
||||
cb(null, false);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user