Permalink
Browse files

Add missing `assetRegistryPath` to dependencies command

Reviewed By: BYK

Differential Revision: D5507660

fbshipit-source-id: 6c3070eeb417cf2c2c88767b68dbea7381ab8687
  • Loading branch information...
davidaurelio authored and facebook-github-bot committed Jul 28, 2017
1 parent c03ce7f commit 6a4fb5edf24d1a89438b201c0d61e371e9129443
Showing with 3 additions and 0 deletions.
  1. +3 −0 local-cli/dependencies/dependencies.js
@@ -14,6 +14,8 @@ const denodeify = require('denodeify');
const fs = require('fs');
const path = require('path');
const {ASSET_REGISTRY_PATH} = require('../core/Constants');
function dependencies(argv, config, args, packagerInstance) {
const rootModuleAbsolutePath = args.entryFile;
if (!fs.existsSync(rootModuleAbsolutePath)) {
@@ -26,6 +28,7 @@ function dependencies(argv, config, args, packagerInstance) {
undefined;
const packageOpts = {
assetRegistryPath: ASSET_REGISTRY_PATH,
projectRoots: config.getProjectRoots(),
blacklistRE: config.getBlacklistRE(),
getPolyfills: config.getPolyfills,

0 comments on commit 6a4fb5e

Please sign in to comment.