From 17a5b4a41258969420bd0df91fde30b7fed5c778 Mon Sep 17 00:00:00 2001 From: Stainless Bot <107565488+stainless-bot@users.noreply.github.com> Date: Wed, 25 Oct 2023 23:10:07 +0100 Subject: [PATCH] fix: typo in build script (#197) --- scripts/postprocess-files.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postprocess-files.cjs b/scripts/postprocess-files.cjs index 8eb455da..f990dbc5 100644 --- a/scripts/postprocess-files.cjs +++ b/scripts/postprocess-files.cjs @@ -109,7 +109,7 @@ async function postprocess() { // convert self-references in dist/src to relative paths let relativePath = path.relative( path.dirname(file), - path.join(distSrcDir, importPath.substring('openai/'.length)), + path.join(distSrcDir, importPath.substring('@anthropic-ai/sdk/'.length)), ); if (!relativePath.startsWith('.')) relativePath = `./${relativePath}`; return relativePath;