Skip to content

Commit 36055cd

Browse files
authored
Update index.mjs
1 parent 2504e3d commit 36055cd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/generators/api-links/index.mjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
import { basename, dirname, join } from 'node:path';
44
import { writeFile } from 'node:fs/promises';
5-
import {
6-
getBaseGitHubUrl,
7-
getCurrentGitHash,
8-
} from './utils/getBaseGitHubUrl.mjs';
95
import { extractExports } from './utils/extractExports.mjs';
106
import { findDefinitions } from './utils/findDefinitions.mjs';
117
import { checkIndirectReferences } from './utils/checkIndirectReferences.mjs';
@@ -56,7 +52,7 @@ export default {
5652

5753
const repository = 'https://github.com/nodejs/node';
5854

59-
const tag = getCurrentGitHash(repositoryDirectory);
55+
const tag = 'HEAD';
6056

6157
baseGithubLink = `${repository}/blob/${tag}`;
6258
}

0 commit comments

Comments
 (0)