Skip to content

Commit

Permalink
chore: update electron/electron trunk name (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
erickzhao authored Jun 2, 2021
1 parent 4224900 commit 47f5443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion create-electron-documentation/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions scripts/tasks/download-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/

Expand Down Expand Up @@ -141,7 +141,7 @@ const downloadFromGitHub = async (options) => {
*/
const download = async (userOptions) => {
const options = {
...{ target: 'master' },
...{ target: 'main' },
...userOptions,
};

Expand Down

0 comments on commit 47f5443

Please sign in to comment.