mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
Changed setImmediate from async library to node default.
This commit is contained in:
parent
b4195b15c6
commit
11742db503
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module.exports = function(config, auth, storage) {
|
||||||
packages,
|
packages,
|
||||||
function(pkg, cb) {
|
function(pkg, cb) {
|
||||||
auth.allow_access(pkg.name, req.remote_user, function(err, allowed) {
|
auth.allow_access(pkg.name, req.remote_user, function(err, allowed) {
|
||||||
async.setImmediate(function() {
|
setImmediate(function() {
|
||||||
if (err) {
|
if (err) {
|
||||||
cb(null, false);
|
cb(null, false);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue