File tree 4 files changed +5
-5
lines changed
fixtures/package-main-enoent
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ for (const version of versions) {
62
62
// Check that the minimum number of versions were returned.
63
63
// Later versions are allowed, but not checked for here (they were checked
64
64
// above).
65
- // Also check for the previous semver major -- From master this will be the
66
- // most recent major release.
65
+ // Also check for the previous semver major -- From the main branch this will be
66
+ // the most recent major release.
67
67
const thisMajor = Number . parseInt ( process . versions . node . split ( '.' ) [ 0 ] ) ;
68
68
const prevMajorString = `${ thisMajor - 1 } .x` ;
69
69
if ( ! expected . includes ( prevMajorString ) ) {
Original file line number Diff line number Diff line change 3
3
// The path in "main" in "package.json" does not exist here, but it does in
4
4
// the copy in node_modules. This is being tested because bluebird tests depend
5
5
// on this behavior and it was accidentally broken by a seemingly unrelated
6
- // commit on master .
6
+ // commit on the main branch .
7
7
8
8
require ( 'package-main-enoent' ) ;
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ async function doReadAndCancel() {
100
100
101
101
// Validate file size is within range for reading
102
102
{
103
- // Variable taken from https://github.com/nodejs/node/blob/master /lib/internal/fs/promises.js#L5
103
+ // Variable taken from https://github.com/nodejs/node/blob/1377163f3351 /lib/internal/fs/promises.js#L5
104
104
const kIoMaxLength = 2 ** 31 - 1 ;
105
105
106
106
const newFile = path . resolve ( tmpDir , 'dogs-running3.txt' ) ;
Original file line number Diff line number Diff line change @@ -167,4 +167,4 @@ In that case it needs to be marked with `skip` instead of `fail`.
167
167
168
168
[ Web Platform Tests ] : https://github.com/web-platform-tests/wpt
169
169
[ `test/fixtures/wpt/README.md` ] : ../fixtures/wpt/README.md
170
- [ git node wpt ] : https://github.com/nodejs/node-core-utils/blob/master /docs/git-node.md#git-node-wpt
170
+ [ git node wpt ] : https://github.com/nodejs/node-core-utils/blob/HEAD /docs/git-node.md#git-node-wpt
You can’t perform that action at this time.
0 commit comments