Skip to content

Commit

Permalink
fix(js_generator): add missing full package name in strict mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Marouane Benalla authored and Marouane Benalla committed Feb 7, 2024
1 parent f2c5583 commit 2d720e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/js_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3692,7 +3692,7 @@ void Generator::GenerateFile(const GeneratorOptions& options,
printer->Print("goog.object.extend(exports, $package$);\n", "package",
GetNamespace(options, file));
} else if (options.import_style == GeneratorOptions::kImportCommonJsStrict) {
printer->Print("goog.object.extend(exports, proto);\n", "package",
printer->Print("goog.object.extend(exports, $package$);\n", "package",
GetNamespace(options, file));
}

Expand Down

0 comments on commit 2d720e0

Please sign in to comment.