mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
Merge pull request #863 from coolsp/fix-unpublish-timeline
fix: unpublish version does not remove it from timeline
This commit is contained in:
commit
61e4e56a76
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ class LocalStorage implements IStorage {
|
|||
this.logger.info( {name: name, version: ver}, 'unpublishing @{name}@@{version}');
|
||||
|
||||
delete jsonData.versions[ver];
|
||||
delete jsonData.time[ver];
|
||||
|
||||
for (let file in jsonData._attachments) {
|
||||
if (jsonData._attachments[file].version === ver) {
|
||||
|
|
Loading…
Reference in a new issue