Skip to content

Commit 788c0a4

Browse files
committed
[meta] use HEAD instead of master where possible
1 parent 333c52e commit 788c0a4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The OpenJS Foundation maintains a Code of Conduct Panel (CoCP).
3030
This is a foundation-wide team established to manage escalation when a reporter believes that a report to a member project or the CPC has not been properly handled.
3131
In order to escalate to the CoCP send an email to `[email protected]`.
3232

33-
For more information, refer to the full [Code of Conduct governance document](https://github.com/openjs-foundation/cross-project-council/blob/master/CODE_OF_CONDUCT.md).
33+
For more information, refer to the full [Code of Conduct governance document](https://github.com/openjs-foundation/cross-project-council/blob/HEAD/CODE_OF_CONDUCT.md).
3434

3535
---
3636

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Please refer to the [README](README.md) for complete instructions how to install
4545
- Please include tests. Changes with tests will be merged very quickly.
4646
- Please manually confirm that your changes work in `bash`, `sh`/`dash`, `ksh`, and `zsh`. Fast tests do run in these shells, but it's nice to manually verify also.
4747
- Please maintain consistent whitespace - 2-space indentation, trailing newlines in all files, etc.
48-
- Any time you make a change to your PR, please rebase freshly on top of master. Nobody likes merge commits.
48+
- Any time you make a change to your PR, please rebase freshly on top of the default branch. Nobody likes merge commits.
4949

5050
Even if you don't have all of these items covered, please still feel free to submit a PR/issue! Someone else may be inspired and volunteer to complete it for you.
5151

@@ -111,7 +111,7 @@ Co-authored-by: Name Here <email@here>
111111

112112

113113
# Code of Conduct
114-
[Code of Conduct](https://github.com/nvm-sh/nvm/blob/master/CODE_OF_CONDUCT.md)
114+
[Code of Conduct](https://github.com/nvm-sh/nvm/blob/HEAD/CODE_OF_CONDUCT.md)
115115

116116
# Where can I ask for help?
117117
If you have any questions, please contact [@LJHarb](mailto:[email protected]).

test/fast/Unit tests/nvm_download

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ die () { echo "$@" ; cleanup ; exit 1; }
1010
set -ex
1111

1212
# nvm_download install.sh
13-
nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh" >/dev/null || die "nvm_download unable to download install.sh"
13+
nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" >/dev/null || die "nvm_download unable to download install.sh"
1414

1515
# nvm_download should fail to download wrong_install.sh
16-
! nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/master/wrong_install.sh" >/dev/null || die "nvm_download should fail to download no existing file"
16+
! nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/wrong_install.sh" >/dev/null || die "nvm_download should fail to download no existing file"
1717

1818
cleanup

test/install_script/nvm_download

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ die () { echo "$@" ; cleanup ; exit 1; }
88
NVM_ENV=testing \. ../../install.sh
99

1010
# nvm_download install.sh
11-
nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh" >/dev/null || die "nvm_download unable to download install.sh"
11+
nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" >/dev/null || die "nvm_download unable to download install.sh"
1212

1313
# nvm_download should fail to download wrong_install.sh
14-
if nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/master/wrong_install.sh" &>/dev/null; then
14+
if nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/wrong_install.sh" &>/dev/null; then
1515
die "nvm_download should fail to download no existing file"
1616
fi
1717

0 commit comments

Comments
 (0)