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 6edcebef9c
commit 0cb63bb971
3 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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