diff options
Diffstat (limited to 'lib/compilation-env.js')
-rw-r--r-- | lib/compilation-env.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/compilation-env.js b/lib/compilation-env.js index 3a19d1ced..0e91da1cf 100644 --- a/lib/compilation-env.js +++ b/lib/compilation-env.js @@ -31,7 +31,9 @@ var LRU = require('lru-cache'), Queue.configure(Promise); -function CompilationEnvironment(gccProps) { +function CompilationEnvironment(gccProps, compilerProps) { + this.gccProps = gccProps; + this.compilerProps = compilerProps; this.okOptions = new RegExp(gccProps('optionsWhitelistRe', '.*')); this.badOptions = new RegExp(gccProps('optionsBlacklistRe', '(?!)')); this.cache = LRU({ |