Skip to content

Commit

Permalink
mjeanroy#127 - Custom npm scoped packages
Browse files Browse the repository at this point in the history
add pacoteOpts from npm
  • Loading branch information
Jurij Cherepanov committed Apr 20, 2018
1 parent 0951c51 commit 3df40ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/npm-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ function oldNpmCache(pkg, deferred) {
* @return {Promise<Object>} The manifest object.
*/
function getManifest(pkg) {
var pakoteOpts = require('npm/lib/config/pacote');
return require('pacote').manifest(pkg, pakoteOpts({})).then(function (pkgJson) {
var pakoteOpts = require('npm/lib/config/pacote');
return require('pacote').manifest(pkg, pakoteOpts({})).then(function (pkgJson) {
integrity: pkgJson._integrity,
manifest: {
name: pkgJson.name,
Expand Down

0 comments on commit 3df40ad

Please sign in to comment.