initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
20
github/codeql-action-v1/node_modules/table/dist/drawRow.js
generated
vendored
Normal file
20
github/codeql-action-v1/node_modules/table/dist/drawRow.js
generated
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.drawRow = void 0;
|
||||
const drawContent_1 = require("./drawContent");
|
||||
const drawRow = (row, config) => {
|
||||
const { border, drawVerticalLine } = config;
|
||||
return drawContent_1.drawContent(row, {
|
||||
drawSeparator: drawVerticalLine,
|
||||
separatorGetter: (index, columnCount) => {
|
||||
if (index === 0) {
|
||||
return border.bodyLeft;
|
||||
}
|
||||
if (index === columnCount) {
|
||||
return border.bodyRight;
|
||||
}
|
||||
return border.bodyJoin;
|
||||
},
|
||||
}) + '\n';
|
||||
};
|
||||
exports.drawRow = drawRow;
|
||||
Loading…
Add table
Add a link
Reference in a new issue