forked from typescript-eslint/typescript-eslint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix changelog renderer patch (typescript-eslint#9348)
- Loading branch information
1 parent
d05cdf0
commit ced65ed
Showing
4 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
8 changes: 5 additions & 3 deletions
8
.yarn/patches/nx-npm-19.3.0-canary.20240611-1600875-bd96520563.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
diff --git a/src/command-line/release/utils/resolve-changelog-renderer.js b/src/command-line/release/utils/resolve-changelog-renderer.js | ||
index 8c6fa468633703fcdbe491c08e509d10574cd75d..b1a669d22097dde0c88c7c8d5a956159b246b33c 100644 | ||
index 8c6fa468633703fcdbe491c08e509d10574cd75d..c36c55b75bffb22a173ec8c5ad5a37abd76b24e4 100644 | ||
--- a/src/command-line/release/utils/resolve-changelog-renderer.js | ||
+++ b/src/command-line/release/utils/resolve-changelog-renderer.js | ||
@@ -13,10 +13,10 @@ function resolveChangelogRenderer(changelogRendererPath) { | ||
@@ -13,11 +13,11 @@ function resolveChangelogRenderer(changelogRendererPath) { | ||
let changelogRenderer; | ||
let cleanupTranspiler = () => { }; | ||
try { | ||
- const rootTsconfigPath = (0, typescript_1.getRootTsConfigPath)(); | ||
- if (rootTsconfigPath) { | ||
- cleanupTranspiler = (0, register_1.registerTsProject)(rootTsconfigPath); | ||
- } | ||
- const r = require(interpolatedChangelogRendererPath); | ||
+ // const rootTsconfigPath = (0, typescript_1.getRootTsConfigPath)(); | ||
+ // if (rootTsconfigPath) { | ||
+ // cleanupTranspiler = (0, register_1.registerTsProject)(rootTsconfigPath); | ||
+ // } | ||
const r = require(interpolatedChangelogRendererPath); | ||
+ const r = require(require('node:path').join(interpolatedChangelogRendererPath)); | ||
changelogRenderer = r.default || r; | ||
} | ||
catch (err) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters