Skip to content

Commit

Permalink
address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RDPerera committed Nov 30, 2023
1 parent 6b9c94a commit 1def7d5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ jobs:
uses: ballerina-platform/ballerina-standard-library/.github/workflows/trivy-scan-template.yml@main
secrets: inherit
with:
additional-build-flags: "-x :twilio-examples:build"
additional-build-flags: "-x :twilio-examples:build"

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ build
generated

# Environment files
*.env
*.env
2 changes: 1 addition & 1 deletion ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ clean {
}

publishToMavenLocal.dependsOn build
publish.dependsOn build
publish.dependsOn build
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ release {
requireBranch = "release-${moduleVersion}"
pushToRemote = 'origin'
}
}
}
1 change: 1 addition & 0 deletions examples/accounts/list_accounts.bal
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ twilio:ConnectionConfig twilioConfig = {
public function main() returns error? {
twilio:Client twilio = check new (twilioConfig);
twilio:ListAccountResponse response = check twilio->listAccount();

twilio:Account[]? accounts = response.accounts;
if accounts is twilio:Account[] {
accounts.forEach(function(twilio:Account account) {
Expand Down

0 comments on commit 1def7d5

Please sign in to comment.