packager: HasteMap: expose getAllFiles()
Reviewed By: tomocchino Differential Revision: D4850695 fbshipit-source-id: 8aae4353de8779f7a1358b2766dad4a6c751b4af
This commit is contained in:
Родитель
a1e06dfb39
Коммит
263f40a2d3
|
@ -55,6 +55,10 @@ class HasteMap extends EventEmitter {
|
||||||
return Promise.all(promises).then(() => this._map);
|
return Promise.all(promises).then(() => this._map);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getAllFiles(): Array<string> {
|
||||||
|
return this._files;
|
||||||
|
}
|
||||||
|
|
||||||
processFileChange(type, absPath) {
|
processFileChange(type, absPath) {
|
||||||
return Promise.resolve().then(() => {
|
return Promise.resolve().then(() => {
|
||||||
/*eslint no-labels: 0 */
|
/*eslint no-labels: 0 */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче