diff --git a/tools/src/deploy-docs.ts b/tools/src/deploy-docs.ts index e231a0587c..11ba1c9854 100755 --- a/tools/src/deploy-docs.ts +++ b/tools/src/deploy-docs.ts @@ -104,7 +104,8 @@ const packages = const invalidations: string[] = []; for (let id of packages) { - processPackage(id.replace("packages/", "")); + id = id.replace("packages/", ""); + processPackage(id); invalidations.push(`${S3_PREFIX}/${id}/*`); }