mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 11:22:41 +01:00
fixed plugin dependency issue
running ./bin/run.sh after the 1st time caused the following error "TypeError: Cannot read property 'dependencies' of undefined". fixed it.
This commit is contained in:
parent
9f51432175
commit
8d60bd5234
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ exports.getPackages = function (cb) {
|
||||||
|
|
||||||
var tmp = {};
|
var tmp = {};
|
||||||
tmp[data.name] = data;
|
tmp[data.name] = data;
|
||||||
flatten(tmp[undefined].dependencies);
|
flatten(tmp[data.name].dependencies);
|
||||||
cb(null, packages);
|
cb(null, packages);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue