Lutz Roeder преди 2 години
родител
ревизия
9a5affced5
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      source/protobuf.js
  2. 1 1
      tools/protoc.js

+ 1 - 1
source/protobuf.js

@@ -1311,7 +1311,7 @@ protobuf.Error = class extends Error {
 
     constructor(message) {
         super(message);
-        this.name = 'Protocol Buffer Error';
+        this.name = 'Protocol Buffers Error';
         this.message = message;
     }
 };

+ 1 - 1
tools/protoc.js

@@ -1483,7 +1483,7 @@ protoc.Error = class extends Error {
 
     constructor(message) {
         super(message);
-        this.name = 'Protocol Buffer Compiler Error';
+        this.name = 'Protocol Buffers Compiler Error';
     }
 };