8000 Add comment to patch · GitklcHub/rushstack@10723b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 10723b9

Browse files
committed
Add comment to patch
1 parent 72c2550 commit 10723b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

heft-plugins/heft-jest-plugin/includes/jestScriptTransformerPatch.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ function patchScriptTransformer(scriptPath) {
8383
scriptContent.slice(0, startIndex) +
8484
`${originalFunctionContent}\n` +
8585
`const ${functionName} = (...args) => {\n` +
86+
` // Patched by @rushstack/heft-jest-plugin. For more information, see:\n` +
87+
` // https://github.com/microsoft/rushstack/pull/3606\n` +
8688
` if (process.env['${HEFT_JEST_DISABLE_CACHE_ENV_VARIABLE}']) {\n` +
8789
` return;\n` +
8890
` }\n` +

0 commit comments

Comments
 (0)
0