Skip to content

Commit dbffa91

Browse files
committed
.
1 parent 4c70c36 commit dbffa91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cloudflare/src/cli/build/patches/plugins/instrumentation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function getBuiltInstrumentationPath(buildOpts: BuildOptions): string | null {
8484
getPackagePath(buildOpts),
8585
`.next/server/${INSTRUMENTATION_HOOK_FILENAME}.js`
8686
);
87-
return existsSync(maybeBuiltInstrumentationPath) ? maybeBuiltInstrumentationPath : null;
87+
return existsSync(maybeBuiltInstrumentationPath) ? maybeBuiltInstrumentationPath.replace(/\\/g, "/") : null;
8888
}
8989

9090
/**

0 commit comments

Comments
 (0)