Add missing `assetRegistryPath` to dependencies command
Reviewed By: BYK Differential Revision: D5507660 fbshipit-source-id: 6c3070eeb417cf2c2c88767b68dbea7381ab8687
This commit is contained in:
parent
c03ce7fdf3
commit
6a4fb5edf2
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue