From 788c0a425e27d8c9beb3a1750c45c1c487829295 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 23 Dec 2022 12:53:40 -0800 Subject: [PATCH] [meta] use HEAD instead of master where possible --- CODE_OF_CONDUCT.md | 2 +- CONTRIBUTING.md | 4 ++-- test/fast/Unit tests/nvm_download | 4 ++-- test/install_script/nvm_download | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index e531bd4..84d2f85 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -30,7 +30,7 @@ The OpenJS Foundation maintains a Code of Conduct Panel (CoCP). 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. In order to escalate to the CoCP send an email to `coc-escalation@lists.openjsf.org`. -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). +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). --- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f0c8625..2c63b47 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -45,7 +45,7 @@ Please refer to the [README](README.md) for complete instructions how to install - Please include tests. Changes with tests will be merged very quickly. - 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. - Please maintain consistent whitespace - 2-space indentation, trailing newlines in all files, etc. - - Any time you make a change to your PR, please rebase freshly on top of master. Nobody likes merge commits. + - Any time you make a change to your PR, please rebase freshly on top of the default branch. Nobody likes merge commits. 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. @@ -111,7 +111,7 @@ Co-authored-by: Name Here # Code of Conduct -[Code of Conduct](https://github.com/nvm-sh/nvm/blob/master/CODE_OF_CONDUCT.md) +[Code of Conduct](https://github.com/nvm-sh/nvm/blob/HEAD/CODE_OF_CONDUCT.md) # Where can I ask for help? If you have any questions, please contact [@LJHarb](mailto:ljharb@gmail.com). diff --git a/test/fast/Unit tests/nvm_download b/test/fast/Unit tests/nvm_download index 3262d60..3afd76c 100644 --- a/test/fast/Unit tests/nvm_download +++ b/test/fast/Unit tests/nvm_download @@ -10,9 +10,9 @@ die () { echo "$@" ; cleanup ; exit 1; } set -ex # nvm_download install.sh -nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh" >/dev/null || die "nvm_download unable to download install.sh" +nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" >/dev/null || die "nvm_download unable to download install.sh" # nvm_download should fail to download wrong_install.sh -! 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" +! 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" cleanup diff --git a/test/install_script/nvm_download b/test/install_script/nvm_download index 8f26623..5eff0f6 100644 --- a/test/install_script/nvm_download +++ b/test/install_script/nvm_download @@ -8,10 +8,10 @@ die () { echo "$@" ; cleanup ; exit 1; } NVM_ENV=testing \. ../../install.sh # nvm_download install.sh -nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh" >/dev/null || die "nvm_download unable to download install.sh" +nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/install.sh" >/dev/null || die "nvm_download unable to download install.sh" # nvm_download should fail to download wrong_install.sh -if nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/master/wrong_install.sh" &>/dev/null; then +if nvm_download "https://raw.githubusercontent.com/nvm-sh/nvm/HEAD/wrong_install.sh" &>/dev/null; then die "nvm_download should fail to download no existing file" fi