Skip to content

Commit 5227ed1

Browse files
committed
node-build and nodejs use main now too
1 parent b19ea22 commit 5227ed1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

script/lts-lint-definitions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ lts_WARNING="before_install_package() {\\
4141
"
4242

4343
schedule_json() {
44-
curl -qsSfJL https://raw.githubusercontent.com/nodejs/Release/master/schedule.json
44+
curl -qsSfJL https://raw.githubusercontent.com/nodejs/Release/main/schedule.json
4545
}
4646

4747
# Flattens the LTS schedule.json into bash variables:

script/submit-definitions

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ done
4646
# This returns 'HEAD' if in detached HEAD state. Useless in that case.
4747
orig_branch=$(git rev-parse --abbrev-ref HEAD)
4848

49-
git fetch --quiet --unshallow "$origin" master 2>/dev/null || git fetch --quiet "$origin" master
50-
git checkout --quiet -B latest-scraped-definitions "$origin"/master
49+
git fetch --quiet --unshallow "$origin" main 2>/dev/null || git fetch --quiet "$origin" master
50+
git checkout --quiet -B latest-scraped-definitions "$origin"/main
5151

52-
npm run-script scrape-definitions
53-
npm run-script commit-definitions
52+
npm run scrape-definitions
53+
npm run commit-definitions
5454
hub pull-request
5555

5656
git checkout --quiet "$orig_branch"

0 commit comments

Comments
 (0)