8000 Replace master with main in URLs & docs · graup/protobuf-javascript@e30f8c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit e30f8c9

Browse files
committed
Replace master with main in URLs & docs
1 parent 03ccbf6 commit e30f8c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ a pre-built binary from [https://github.com/protocolbuffers/protobuf/releases](h
3535

3636
If you want, you can compile `protoc` from source instead. To do this
3737
follow the instructions in [the top-level
38-
README](https://github.com/protocolbuffers/protobuf/blob/master/src/README.md).
38+
README](https://github.com/protocolbuffers/protobuf/blob/main/src/README.md).
3939

4040
Once you have `protoc` compiled, you can run the tests provided along with our project to examine whether it can run successfully. In order to do this, you should download the Protocol Buffer source code from the release page with the link above. Then extract the source code and navigate to the folder named `js` containing a `package.json` file and a series of test files. In this folder, you can run the commands below to run the tests automatically.
4141

@@ -129,7 +129,7 @@ The syntax of the `--js_out` flag is:
129129
Where `OPTIONS` are separated by commas. Options are either `opt=val` or
130130
just `opt` (for options that don't take a value). The available options
131131
are specified and documented in the `GeneratorOptions` struct in
132-
[src/google/protobuf/compiler/js/js_generator.h](https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/compiler/js/js_generator.h#L53).
132+
[src/google/protobuf/compiler/js/js_generator.h](https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/compiler/js/js_generator.h#L53).
133133

134134
Some examples:
135135

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"repository": {
2222
"type": "git",
23-
"url": "https://github.com/protocolbuffers/protobuf/tree/master/js"
23+
"url": "https://github.com/protocolbuffers/protobuf/tree/main/js"
2424
},
2525
"author": "Google Protocol Buffers Team",
2626
"license": "BSD-3-Clause"

0 commit comments

Comments
 (0)
0