Skip to content
Permalink
Browse files

src: silence compiler warning

This commit fixes the following warning:

warning: missing field 'exports' initializer

PR-URL: #28764
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
  • Loading branch information...
cjihrig authored and targos committed Jul 19, 2019
1 parent 9f47242 commit 7df54988e132d1ceb26b4122870993b730ac8b08
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/module_wrap.cc
@@ -646,7 +646,7 @@ Maybe<const PackageConfig*> GetPackageScopeConfig(Environment* env,
if (pjson_url.path() == last_pjson_url.path()) {
auto entry = env->package_json_cache.emplace(pjson_url.ToFilePath(),
PackageConfig { Exists::No, IsValid::Yes, HasMain::No, "",
PackageType::None });
PackageType::None, Global<Value>() });
const PackageConfig* pcfg = &entry.first->second;
return Just(pcfg);
}

0 comments on commit 7df5498

Please sign in to comment.
You can’t perform that action at this time.