Skip to content

Commit e27c44c

Browse files
author
Luca Forstner
committed
rename
1 parent dfe0513 commit e27c44c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nextjs/src/config/loaders/wrappingLoader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const SENTRY_WRAPPER_MODULE_NAME = 'sentry-wrapper-module';
1616
const WRAPPING_TARGET_MODULE_NAME = '__SENTRY_WRAPPING_TARGET_FILE__.cjs';
1717

1818
// This module is non-public API and may break
19-
const nextjsRequestAsyncStorageModulePath = getAsyncLocalStorageModule();
19+
const nextjsRequestAsyncStorageModulePath = getRequestAsyncLocalStorageModule();
2020

2121
const apiWrapperTemplatePath = path.resolve(__dirname, '..', 'templates', 'apiWrapperTemplate.js');
2222
const apiWrapperTemplateCode = fs.readFileSync(apiWrapperTemplatePath, { encoding: 'utf8' });
@@ -53,7 +53,7 @@ type LoaderOptions = {
5353
vercelCronsConfig?: VercelCronsConfig;
5454
};
5555

56-
function getAsyncLocalStorageModule(): string | undefined {
56+
function getRequestAsyncLocalStorageModule(): string | undefined {
5757
try {
5858
// Original location of that module
5959
// https://github.com/vercel/next.js/blob/46151dd68b417e7850146d00354f89930d10b43b/packages/next/src/client/components/request-async-storage.ts

0 commit comments

Comments
 (0)