mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-03-25 02:32:52 -05:00
Merge remote-tracking branch 'origin/master' into 4.x
This commit is contained in:
commit
fe28e24226
2 changed files with 14 additions and 1 deletions
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -66,6 +66,18 @@ All notable changes to this project will be documented in this file. See [standa
|
|||
* replaced lunr by lunr-mutable ([#915](https://github.com/verdaccio/verdaccio/issues/915)) ([1602840](https://github.com/verdaccio/verdaccio/commit/1602840))
|
||||
* verdaccio update notification on CLI ([#988](https://github.com/verdaccio/verdaccio/issues/988)) ([#998](https://github.com/verdaccio/verdaccio/issues/998)) ([bc04703](https://github.com/verdaccio/verdaccio/commit/bc04703))
|
||||
|
||||
|
||||
<a name="3.11.6"></a>
|
||||
## [3.11.6](https://github.com/verdaccio/verdaccio/compare/v3.11.5...v3.11.6) (2019-02-25)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* overrides existing package to zero bytes file [#1191](https://github.com/verdaccio/verdaccio/issues/1191) ([d470cfe](https://github.com/verdaccio/verdaccio/commit/d470cfe))
|
||||
* remove unused dependency ([e943d91](https://github.com/verdaccio/verdaccio/commit/e943d91))
|
||||
|
||||
|
||||
|
||||
<a name="3.11.5"></a>
|
||||
## [3.11.5](https://github.com/verdaccio/verdaccio/compare/v3.11.4...v3.11.5) (2019-02-21)
|
||||
|
||||
|
|
|
@ -204,7 +204,8 @@ class LocalStorage implements IStorage {
|
|||
metadata = cleanUpReadme(metadata);
|
||||
metadata.contributors = normalizeContributors(metadata.contributors);
|
||||
|
||||
if (data.versions[version] != null) {
|
||||
const hasVersion = data.versions[version] != null;
|
||||
if (hasVersion) {
|
||||
return cb(ErrorCode.getConflict());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue