tools: fix typo in cache_builder.cc
PR-URL: https://github.com/nodejs/node/pull/28418 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
f11a4ec638
commit
3322686487
@ -136,7 +136,7 @@ std::string CodeCacheBuilder::Generate(Local<Context> context) {
|
|||||||
loader->GetCodeCache(id.c_str());
|
loader->GetCodeCache(id.c_str());
|
||||||
if (cached_data == nullptr) {
|
if (cached_data == nullptr) {
|
||||||
// TODO(joyeecheung): display syntax errors
|
// TODO(joyeecheung): display syntax errors
|
||||||
std::cerr << "Failed to complile " << id << "\n";
|
std::cerr << "Failed to compile " << id << "\n";
|
||||||
} else {
|
} else {
|
||||||
data.emplace(id, cached_data);
|
data.emplace(id, cached_data);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user