Skip to content

Commit d0be6be

Browse files
committed
fix failed test caused by calling an undefined property
1 parent a4b64ac commit d0be6be

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)