style: remove unnecessary function whitespace

Remove the unnecessary whitespace between the function name or the
'function' keyword and the opening parenthesis.
This commit is contained in:
2026-08-09 13:09:39 +02:00
committed by Gitea
parent 6bf315e4b8
commit 995e77b69a
31 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ limitations under the License.
* @param {string} path - The settings page path.
* @returns {Array} The settings page path segments.
*/
export const getSettingsPagePathSegments = function getSettingsPagePathSegments (path) {
export const getSettingsPagePathSegments = function getSettingsPagePathSegments(path) {
if (typeof path !== 'string') return [];
return path
.replace(/^\.+|\.+$/g, '')