packager: JSTransform cleanup: remove opts.methods

Summary: It's not used from any callsite as far as I can see.

Reviewed By: davidaurelio

Differential Revision: D4481708

fbshipit-source-id: 2c503fb7ef20f9370a950c315832f3ace4709739
This commit is contained in:
Jean Lauliac 2017-01-31 03:55:54 -08:00 committed by Facebook Github Bot
parent 485dcb1e79
commit 16fd44b3c0
1 changed files with 0 additions and 6 deletions

View File

@ -39,15 +39,10 @@ const validateOpts = declareOpts({
type:'string', type:'string',
required: false, required: false,
}, },
methods: {
type: 'array',
default: [],
},
}); });
type Options = { type Options = {
transformModulePath?: ?string, transformModulePath?: ?string,
methods?: ?Array<string>,
}; };
const maxConcurrentWorkers = ((cores, override) => { const maxConcurrentWorkers = ((cores, override) => {
@ -86,7 +81,6 @@ class Transformer {
_opts: { _opts: {
transformModulePath?: ?string, transformModulePath?: ?string,
methods: Array<string>,
}; };
_workers: {[name: string]: mixed}; _workers: {[name: string]: mixed};
_transformModulePath: ?string; _transformModulePath: ?string;