Skip to content

Commit 8f1db8b

Browse files
committed
chore: Rename default branch to main
1 parent 3904174 commit 8f1db8b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
The Code of Conduct explains the *bare minimum* behavior
66
expectations the Node Foundation requires of its contributors.
7-
[Please read it before participating](https://github.com/nodejs/admin/blob/master/CODE_OF_CONDUCT.md).
7+
[Please read it before participating](https://github.com/nodejs/admin/blob/HEAD/CODE_OF_CONDUCT.md).
88

99
## Vocabulary
1010

Diff for: TRANSLATION.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ would like to contribute to the translation of nodejs.org, please refer to the f
1313

1414
All translated and approved content will be pushed to this repo automatically. You don't need to create any PRs with translation. Just keep localization process on Crowdin.
1515

16-
Original source can be found in [/locale/en](https://github.com/nodejs/nodejs.org/tree/master/locale/en). If you find any problem with original source, please create a PR with changes directly to `/locale/en`. Crowdin automatically pull all updates within 24 hours.
16+
Original source can be found in [/locale/en](https://github.com/nodejs/nodejs.org/tree/main/locale/en). If you find any problem with original source, please create a PR with changes directly to `/locale/en`. Crowdin automatically pull all updates within 24 hours.
1717

1818
### Can't find my locale on Crowdin
1919

Diff for: scripts/contributor-list/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const github = new GithubGraphQLApi({
2222
const queryCommits = variables => github.query(`
2323
query ($repositoryOwner: String!, $repositoryName: String!, $since: GitTimestamp, $historyAfter: String) {
2424
repository(owner: $repositoryOwner, name: $repositoryName) {
25-
ref(qualifiedName: "master") {
25+
ref(qualifiedName: "main") {
2626
target {
2727
... on Commit {
2828
history(first: 100, since: $since, after: $historyAfter) {

Diff for: scripts/plugins/githubLinks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function githubLinks (options) {
1616

1717
const file = files[path]
1818
path = path.replace('.html', '.md').replace(/\\/g, '/')
19-
const url = `https://github.com/nodejs/nodejs.org/edit/master/locale/${options.locale}/${path}`
19+
const url = `https://github.com/nodejs/nodejs.org/edit/main/locale/${options.locale}/${path}`
2020

2121
const contents = file.contents.toString() +
2222
` <input type = "hidden" id = "editOnGitHubUrl" value="${url}"/> `

0 commit comments

Comments
 (0)