Skip to content

Commit

Permalink
fix(tools): fix invalidation paths (deploy-docs)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Apr 8, 2023
1 parent abcedd9 commit b61b646
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/src/deploy-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}/*`);
}

Expand Down

0 comments on commit b61b646

Please sign in to comment.