Closed kmbn closed 5 years ago
The old version references the variable accountId even if it isn't assigned in the preceding if statement. Indenting the relevant code block so it's only called if accountId is assigned resolves the error.
accountId
The old version references the variable
accountId
even if it isn't assigned in the preceding if statement. Indenting the relevant code block so it's only called ifaccountId
is assigned resolves the error.