Fix lint warnings in the resolver

Reviewed By: martinbigio

Differential Revision: D2803192

fb-gh-sync-id: 721821ed9ce8dd846f90ec09e7e1f36abf322b5a
This commit is contained in:
Christoph Pojer 2016-01-05 10:45:00 -08:00 committed by facebook-github-bot-7
parent 3ee52f04ce
commit b34845e4b0
3 changed files with 7 additions and 7 deletions

View File

@ -2424,7 +2424,7 @@ describe('DependencyGraph', function() {
' * @providesModule wontWork', ' * @providesModule wontWork',
' */', ' */',
'hi();', 'hi();',
].join('\n') ].join('\n'),
}, },
}, },
// This part of the dep graph is meant to emulate internal facebook infra. // This part of the dep graph is meant to emulate internal facebook infra.
@ -2442,7 +2442,7 @@ describe('DependencyGraph', function() {
' */', ' */',
'hiFromInternalPackage();', 'hiFromInternalPackage();',
].join('\n'), ].join('\n'),
} },
}, },
}, },
// we need to support multiple roots and using haste between them // we need to support multiple roots and using haste between them
@ -2453,7 +2453,7 @@ describe('DependencyGraph', function() {
' */', ' */',
'wazup()', 'wazup()',
].join('\n'), ].join('\n'),
} },
}); });
var dgraph = new DependencyGraph({ var dgraph = new DependencyGraph({
@ -2472,7 +2472,7 @@ describe('DependencyGraph', function() {
'wontWork', 'wontWork',
'ember', 'ember',
'internalVendoredPackage', 'internalVendoredPackage',
'anotherIndex' 'anotherIndex',
], ],
isAsset: false, isAsset: false,
isAsset_DEPRECATED: false, isAsset_DEPRECATED: false,

View File

@ -26,7 +26,7 @@ class ModuleCache {
moduleCache: this, moduleCache: this,
cache: this._cache, cache: this._cache,
extractor: this._extractRequires, extractor: this._extractRequires,
depGraphHelpers: this._depGraphHelpers depGraphHelpers: this._depGraphHelpers,
}); });
} }
return this._moduleCache[filePath]; return this._moduleCache[filePath];

View File

@ -56,7 +56,7 @@ describe('Module', () => {
fastfs, fastfs,
moduleCache: new ModuleCache(fastfs, cache), moduleCache: new ModuleCache(fastfs, cache),
cache: cache, cache: cache,
depGraphHelpers: new DependencyGraphHelpers() depGraphHelpers: new DependencyGraphHelpers(),
}); });
return module.getAsyncDependencies().then(actual => return module.getAsyncDependencies().then(actual =>
@ -130,7 +130,7 @@ describe('Module', () => {
moduleCache: new ModuleCache(fastfs, cache), moduleCache: new ModuleCache(fastfs, cache),
cache, cache,
extractor, extractor,
depGraphHelpers: new DependencyGraphHelpers() depGraphHelpers: new DependencyGraphHelpers(),
}); });
}); });
} }