Skip to content

Commit

Permalink
3.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
daknhh committed May 1, 2023
1 parent 0bba880 commit d086ea6
Show file tree
Hide file tree
Showing 4 changed files with 113 additions and 1,438 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Change Log

## Released

## 3.1.9
### Fixed
- Bump @aws-sdk/client-cloudformation from 3.319.0 to 3.321.1
- Bump @aws-sdk/client-pricing from 3.319.0 to 3.321.1
- Bump @aws-sdk/client-fms from 3.319.0 to 3.321.1
- Bump @aws-sdk/client-cloudwatch from 3.315.0 to 3.319.0
- Bump @aws-sdk/client-service-quotas from 3.315.0 to 3.319.0
- Bump typescript from 3.9.10 to 4.9.5
- Bump @types/node from 18.16.1 to 18.16.3
- Helpers - newquota.RequestedQuotas false positive
## 3.1.8
### Fixed
- Bump @aws-sdk/client-cloudformation from 3.315.0 to 3.319.0
Expand Down
2 changes: 1 addition & 1 deletion lib/tools/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async function getFmsQuota(deploymentRegion: string, quotaCode: string): Promise
};
const command = new quota.ListRequestedServiceQuotaChangeHistoryByQuotaCommand(input);
const newquota = await quoata_client.send(command);
if(newquota.RequestedQuotas !== []){
if(newquota.RequestedQuotas?.length !== 0){
if(newquota.RequestedQuotas?.length || 0 === 0){
const sortquota = lodash.sortBy(newquota.RequestedQuotas,["Created"]);
if(sortquota?.length === 1){
Expand Down
Loading

0 comments on commit d086ea6

Please sign in to comment.