aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/node_generator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/node_generator.cc')
-rw-r--r--src/compiler/node_generator.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/node_generator.cc b/src/compiler/node_generator.cc
index 00db79cabb..7605b64531 100644
--- a/src/compiler/node_generator.cc
+++ b/src/compiler/node_generator.cc
@@ -210,6 +210,8 @@ grpc::string GetImports(const FileDescriptor *file) {
return output;
}
+ out.Print("// GENERATED CODE -- DO NOT EDIT!\n\n");
+
out.Print("var grpc = require('grpc');\n");
if (file->message_type_count() > 0) {
grpc::string file_path = GetRelativePath(file->name(),