0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

fix: remove useless warning ignoring tag

The snippet removed does not have any impact and should be removed
This commit is contained in:
Juan Picado @jotadeveloper 2018-05-20 09:47:01 +02:00
parent 46f8186f01
commit 0aeac063ef
No known key found for this signature in database
GPG key ID: 18AC54485952D158

View file

@ -155,10 +155,6 @@ function tagVersion(data: Package, version: string, tag: StringValue) {
return true;
}
}
Logger.logger.warn({ver: version, tag: tag}, 'ignoring bad version @{ver} in @{tag}');
if (tag && data[DIST_TAGS][tag]) {
delete data[DIST_TAGS][tag];
}
}
return false;
}