0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-03-11 02:15:57 -05:00

chore: add some comments for dist-tag

This commit is contained in:
Juan Picado @jotadeveloper 2018-05-20 21:06:35 +02:00
parent 456f4b958e
commit 6322369bff
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -272,6 +272,7 @@ class LocalStorage implements IStorage {
this._updatePackage(name, (data, cb) => {
/* eslint guard-for-in: 0 */
for (let tag: string in tags) {
// this handle dist-tag rm command
if (_.isNull(tags[tag])) {
delete data[DIST_TAGS][tag];
continue;