Skip to content
This repository has been archived by the owner on Jan 28, 2025. It is now read-only.

Commit

Permalink
chore: fix import in upload-handler-sizes script
Browse files Browse the repository at this point in the history
  • Loading branch information
dphang committed Jun 29, 2021
1 parent 498957d commit c36df60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/upload-handler-sizes.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

import * as AWS from "aws-sdk";
import { handlerSizeUtils } from "./handler-size-utils";
import { calculateHandlerSizes } from "./handler-size-utils";

const uploadHandlerSizesToS3 = async (
sizes: Record<string, any>
Expand All @@ -20,7 +20,7 @@ const uploadHandlerSizesToS3 = async (

console.info("Calculate all uncompressed handler sizes");

const sizes: Record<string, any> = handlerSizeUtils();
const sizes: Record<string, any> = calculateHandlerSizes();

console.log("Calculated sizes: " + JSON.stringify(sizes, null, 2));

Expand Down

0 comments on commit c36df60

Please sign in to comment.