Skip to content

Commit 6ea69cd

Browse files
authored
Merge pull request #32 from dannleed/fix/test-generation-fe-script
fix failed test caused by calling an undefined property
2 parents dd6bd96 + d0be6be commit 6ea69cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reverse_engineering/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ module.exports = {
143143
accountID: data.accountKey,
144144
defaultConsistency: accountInfo.consistencyPolicy,
145145
preferredLocation: accountInfo.writableLocations[0] ? accountInfo.writableLocations[0].name : '',
146-
...(includeAccountInformation && {
146+
...(data?.includeAccountInformation && {
147147
resGrp: data.resourceGroupName,
148148
tenant: data.tenantId,
149149
subscription: data.subscriptionId,

0 commit comments

Comments
 (0)