Skip to content

Commit

Permalink
create-app - updates cli templates
Browse files Browse the repository at this point in the history
  • Loading branch information
camcash17 committed Sep 13, 2023
1 parent 0050426 commit 2749723
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ export default async function createLookupTable(
const awsInputData: LookupTableInput[] = await csv().fromFile(awsInputFile)
validateInputData(awsInputData)
const awsEstimatesData: LookupTableOutput[] =
new App().getAwsEstimatesFromInputData(awsInputData)
await new App().getAwsEstimatesFromInputData(awsInputData)
await writeToCsv(awsOutputFile, awsEstimatesData)
}

if (gcpInputFile) {
const gcpInputData: LookupTableInput[] = await csv().fromFile(gcpInputFile)
validateInputData(gcpInputData)
const gcpEstimatesData: LookupTableOutput[] =
new App().getGcpEstimatesFromInputData(gcpInputData)
await new App().getGcpEstimatesFromInputData(gcpInputData)
await writeToCsv(gcpOutputFile, gcpEstimatesData)
}

Expand All @@ -78,7 +78,7 @@ export default async function createLookupTable(
)
validateInputData(azureInputData)
const azureEstimatesData: LookupTableOutput[] =
new App().getAzureEstimatesFromInputData(azureInputData)
await new App().getAzureEstimatesFromInputData(azureInputData)
await writeToCsv(azureOutputFile, azureEstimatesData)
}
}

0 comments on commit 2749723

Please sign in to comment.