Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
fix: use _npmUser reset the maintainers
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Oct 23, 2017
1 parent 95aa035 commit bfb29f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/sync_module_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -1342,6 +1342,7 @@ SyncModuleWorker.prototype._syncOneVersion = function *(versionIndex, sourcePack
} else if (sourcePackage._npmUser && sourcePackage._npmUser.name) {
// try to use _npmUser instead
author = sourcePackage._npmUser.name;
sourcePackage.maintainers = [ sourcePackage._npmUser ];
}

var mod = {
Expand Down

0 comments on commit bfb29f8

Please sign in to comment.