diff --git a/create-electron-documentation/readme.md b/create-electron-documentation/readme.md index de790eb58..e921d2db2 100644 --- a/create-electron-documentation/readme.md +++ b/create-electron-documentation/readme.md @@ -37,4 +37,4 @@ Thanks for contributing to Electron! [electron]: https://www.electronjs.org [fiddle]: https://www.electronjs.org/fiddle [main repo]: https://github.com/electron/electron -[tutorials]: https://github.com/electron/electron/tree/master/docs/tutorial +[tutorials]: https://github.com/electron/electron/tree/main/docs/tutorial diff --git a/scripts/tasks/download-docs.js b/scripts/tasks/download-docs.js index 20f41175d..53f197be3 100644 --- a/scripts/tasks/download-docs.js +++ b/scripts/tasks/download-docs.js @@ -16,7 +16,7 @@ const fixedFolders = ['api', 'images', 'fiddles']; * @property {string} [org] - The organization to download the contents from * @property {string} [repository] - The repository to download the contents from * @property {string} destination - The destination absolute path. - * @property {string} target - The branch, commit, version. (e.g. `v1.0.0`, `master`) + * @property {string} target - The branch, commit, version. (e.g. `v1.0.0`, `main`) * @property {string} downloadMatch - The math to use to filter the downloaded contents */ @@ -141,7 +141,7 @@ const downloadFromGitHub = async (options) => { */ const download = async (userOptions) => { const options = { - ...{ target: 'master' }, + ...{ target: 'main' }, ...userOptions, };