From 89e95b3f143682ed9a006991bacf45c9dcba4818 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:43:05 +0800 Subject: remove node_modules --- node_modules/table/dist/padTableData.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 node_modules/table/dist/padTableData.js (limited to 'node_modules/table/dist/padTableData.js') diff --git a/node_modules/table/dist/padTableData.js b/node_modules/table/dist/padTableData.js deleted file mode 100644 index a78ce49b..00000000 --- a/node_modules/table/dist/padTableData.js +++ /dev/null @@ -1,20 +0,0 @@ -'use strict'; - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -/** - * @param {table~row[]} rows - * @param {Object} config - * @returns {table~row[]} - */ -exports.default = (rows, config) => { - return rows.map(cells => { - return cells.map((value, index1) => { - const column = config.columns[index1]; - - return ' '.repeat(column.paddingLeft) + value + ' '.repeat(column.paddingRight); - }); - }); -}; \ No newline at end of file -- cgit v1.2.3