Skip to content

Commit

Permalink
fix sonarqube notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Quelca committed Jul 22, 2024
1 parent 400c6a8 commit cb0149a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/Json2Vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export default {
return name && typeof name === 'string' && name.match(/^[a-zA-Z_][0-9a-zA-Z_.]*$/);
},
isComputedVariable(name, definition) {
return definition.computed && definition.computed.some(computed => {
return definition?.computed?.some(computed => {
// add byPass computed property validation
if (computed?.byPass) return false;
// Check if the first part of an element'ßs name (up to the first `.`)
Expand Down

0 comments on commit cb0149a

Please sign in to comment.