Skip to content

Commit

Permalink
Consistent returns
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Nov 28, 2022
1 parent 98875ae commit fd369cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/processors/jsdoc/lib/ui5/plugin.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ function checkVarRenaming(variable) {
* Builds the fully quantified name when there's a destructuring of a variable
*
* @param {Node} node
* @returns {Object}
* @returns {string}
*/
function resolveFullyQuantifiedName(node) {
// The missing part is on the left side. The right side is clear.
Expand All @@ -811,7 +811,7 @@ function resolveFullyQuantifiedName(node) {
const currentScope = getEnclosingVariableScope(node);

if (!currentScope) {
return null;
return "";
}

while (leftMostName) {
Expand Down

0 comments on commit fd369cf

Please sign in to comment.