1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00

Merge pull request #703 from verdaccio/fix-702

fix: remove useless warning ignoring tag
This commit is contained in:
Juan Picado @jotadeveloper 2018-05-20 10:03:19 +02:00 committed by GitHub
commit f586e8adea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}