mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
chore: stop linter from whining about no return (#6679)
No functional change, just jumping through hoops due to tooling. "JSDoc @returns declaration present but return expression not available in function"
This commit is contained in:
@@ -222,7 +222,7 @@ export function generateUniqueNameFromOptions(
|
||||
}
|
||||
}
|
||||
if (!inUse) {
|
||||
return potName;
|
||||
break;
|
||||
}
|
||||
|
||||
letterIndex++;
|
||||
@@ -233,6 +233,7 @@ export function generateUniqueNameFromOptions(
|
||||
}
|
||||
potName = letters.charAt(letterIndex) + suffix;
|
||||
}
|
||||
return potName;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user