Comparing version 0.0.17 to 0.0.18
{ | ||
"name": "awsass", | ||
"description": "AWSASS is an assistant to AWS, mostly for running better scripts.", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"author": "Jsonize", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/jsonize/awsass", |
@@ -119,3 +119,6 @@ const AWS = require("aws-sdk"); | ||
} | ||
callback(undefined, subnetsDescription.Subnets.filter(subnet => subnet.DefaultForAz).map(subnet => subnet.SubnetId)); | ||
let subnets = subnetsDescription.Subnets.filter(subnet => subnet.DefaultForAz); | ||
if (subnets.length === 0) | ||
subnets = subnetsDescription.Subnets; | ||
callback(undefined, subnets.map(subnet => subnet.SubnetId)); | ||
}); | ||
@@ -122,0 +125,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32805
652