fix: remove redundant boolean check of request variable

This commit is contained in:
Daniel Ruf 2019-06-15 13:26:04 +02:00
parent 56b8aa7006
commit 2471713608
No known key found for this signature in database
GPG Key ID: 68597EDC4FAC1299
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class DelegatedModuleFactoryPlugin {
module => {
const request = module.libIdent(this.options);
if (request) {
if (request && request in this.options.content) {
if (request in this.options.content) {
const resolved = this.options.content[request];
return new DelegatedModule(
this.options.source,