style: ensure named functions

This commit is contained in:
jakob.scheid authored and Gitea committed 2026-08-09 13:09:39 +02:00
1 parent dd07392821
commit a086affbef
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
export const ensureUnit = function(d) {
export const ensureUnit = function ensureUnit(d) {
if (!d) d = 0;
// ensure that it is a string