From 445d7bef78532a6600537a6ca4f31ce1030a3f51 Mon Sep 17 00:00:00 2001 From: Guillaume ARM Date: Mon, 18 Jul 2022 23:10:23 +0200 Subject: [PATCH] chore(cube): remove unused function --- programs/cube.lua | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/programs/cube.lua b/programs/cube.lua index ea30b90..c01553f 100644 --- a/programs/cube.lua +++ b/programs/cube.lua @@ -1,4 +1,4 @@ -local _VERSION = '1.3.0'; +local _VERSION = '1.4.0'; local CUBE_CHANNEL = 64; local net = require('/apis/net')(); @@ -17,18 +17,6 @@ local leftPad = function(str, len, char) return str; end ---- Pads str to length len with char from left -local rightPad = function(str, len, char) - if char == nil then char = ' ' end - local nbRepetition = len - #str; - - if nbRepetition > 0 then - return string.rep(char, len - #str) .. str - end - - return str; -end - local function getRow(margin, str1, str2, str3) margin = margin or '';